Don't hardcode toolbar icon style on Windows

This commit is contained in:
Christian Dywan 2010-06-24 22:37:12 +02:00
parent eec5359cf5
commit f14152fe17

View file

@ -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)