]> spindle.queued.net Git - midori/commitdiff
Allow hiding the menubar in Hildon, effectively disabling it
authorChristian Dywan <christian@twotoasts.de>
Wed, 11 Nov 2009 22:31:54 +0000 (23:31 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 11 Nov 2009 22:31:54 +0000 (23:31 +0100)
midori/midori-browser.c

index 91ba9116603969c377da6c975c1fcc2f324d1b8d..88b0534dad7796b6be1c7392afa499002aed1ed1 100644 (file)
@@ -3084,8 +3084,8 @@ _action_menubar_activate (GtkToggleAction* action,
     gboolean active = gtk_toggle_action_get_active (action);
     if (browser->settings)
         g_object_set (browser->settings, "show-menubar", active, NULL);
-    #if !HAVE_HILDON
     sokoke_widget_set_visible (browser->menubar, active);
+    #if !HAVE_HILDON
     if (browser->settings)
     {
         if (active)