[Xfce4-commits] [xfce/xfwm4] 01/01: Restore themeability of tabwin

noreply at xfce.org noreply at xfce.org
Thu Feb 5 22:38:38 CET 2015


This is an automated email from the git hooks/post-receive script.

olivier pushed a commit to branch master
in repository xfce/xfwm4.

commit 30cce014104b447775b2247e501053a101ccaa7e
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Thu Feb 5 22:38:19 2015 +0100

    Restore themeability of tabwin
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/tabwin.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/tabwin.c b/src/tabwin.c
index 4991944..376345a 100644
--- a/src/tabwin.c
+++ b/src/tabwin.c
@@ -721,9 +721,10 @@ computeTabwinData (ScreenInfo *screen_info, TabwinWidget *tabwin_widget)
 
     if (screen_info->params->cycle_tabwin_mode == STANDARD_ICON_GRID)
     {
-        standard_icon_size = tabwin->icon_size = WIN_ICON_SIZE;
+        tabwin->icon_size = WIN_ICON_SIZE;
         gtk_widget_style_get (GTK_WIDGET (tabwin_widget),
                               "icon-size", &tabwin->icon_size, NULL);
+        standard_icon_size = tabwin->icon_size;
 
         if (preview)
         {
@@ -830,6 +831,7 @@ tabwinCreateWidget (Tabwin *tabwin, ScreenInfo *screen_info, gint monitor_num)
 
     gtk_window_set_screen (GTK_WINDOW (tabwin_widget), screen_info->gscr);
     gtk_widget_set_name (GTK_WIDGET (tabwin_widget), "xfwm4-tabwin");
+    gtk_widget_realize (GTK_WIDGET (tabwin_widget));
 
     /* Check for compositing and set colormap for it */
     screen = gtk_widget_get_screen (GTK_WIDGET (tabwin_widget));

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list