[Xfce4-commits] <midori:master> Don't hardcode toolbar icon style on Windows

Christian Dywan noreply at xfce.org
Thu Jun 24 23:22:01 CEST 2010


Updating branch refs/heads/master
         to f14152fe1764883db2b321c30a6b1325f9308148 (commit)
       from eec5359cf52c2df47b2564790ce22358363de6ff (commit)

commit f14152fe1764883db2b321c30a6b1325f9308148
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Jun 24 22:37:12 2010 +0200

    Don't hardcode toolbar icon style on Windows

 midori/midori-browser.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 75c5f31..e42bd7c 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -6367,11 +6367,7 @@ _midori_browser_set_toolbar_style (MidoriBrowser*     browser,
     GtkSettings* gtk_settings = gtk_widget_get_settings (GTK_WIDGET (browser));
     g_object_get (gtk_settings, "gtk-toolbar-icon-size", &icon_size, NULL);
     if (toolbar_style == MIDORI_TOOLBAR_DEFAULT && gtk_settings)
-    #ifdef G_OS_WIN32
-        gtk_toolbar_style = GTK_TOOLBAR_ICONS;
-    #else
         g_object_get (gtk_settings, "gtk-toolbar-style", &gtk_toolbar_style, NULL);
-    #endif
     else
     {
         switch (toolbar_style)



More information about the Xfce4-commits mailing list