Allow hiding the menubar in Hildon, effectively disabling it

This commit is contained in:
Christian Dywan 2009-11-11 23:31:54 +01:00
parent 21e42ac8c7
commit 5417a4f52b

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