[Xfce4-commits] <midori:master> Allow hiding the menubar in Hildon, effectively disabling it

Christian Dywan noreply at xfce.org
Wed Nov 11 23:50:02 CET 2009


Updating branch refs/heads/master
         to 5417a4f52bd6413baba3bb232364c69fd411ebec (commit)
       from 21e42ac8c70646a5c72bae468d41d1242c5de6c9 (commit)

commit 5417a4f52bd6413baba3bb232364c69fd411ebec
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Nov 11 23:31:54 2009 +0100

    Allow hiding the menubar in Hildon, effectively disabling it

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

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 91ba911..88b0534 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -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)



More information about the Xfce4-commits mailing list