Updating branch refs/heads/master
         to a7be00904bec59f7e70e5285c7d14973f6f59b7f (commit)
       from b6bce01a1446989959969e74fb56e39b1089467a (commit)

commit a7be00904bec59f7e70e5285c7d14973f6f59b7f
Author: Nick Schermer <[email protected]>
Date:   Mon Nov 5 21:46:15 2012 +0100

    Always set the icons size of the toolbar.
    
    This should avoid the big icons in a gtk3 desktop.

 thunar/thunar-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index 97870fd..1fcae61 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -1849,8 +1849,8 @@ thunar_window_install_location_bar (ThunarWindow *window,
           /* setup the toolbar for the location bar */
           window->location_toolbar = gtk_ui_manager_get_widget 
(window->ui_manager, "/location-toolbar");
           g_object_get (G_OBJECT (window->preferences), 
"misc-small-toolbar-icons", &small_icons, NULL);
-          if (small_icons)
-            gtk_toolbar_set_icon_size (GTK_TOOLBAR (window->location_toolbar), 
GTK_ICON_SIZE_SMALL_TOOLBAR);
+          gtk_toolbar_set_icon_size (GTK_TOOLBAR (window->location_toolbar),
+                                     small_icons ? GTK_ICON_SIZE_SMALL_TOOLBAR 
: GTK_ICON_SIZE_LARGE_TOOLBAR);
           gtk_table_attach (GTK_TABLE (window->table), 
window->location_toolbar, 0, 1, 1, 2, GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0);
           gtk_widget_show (window->location_toolbar);
 
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to