Allow hiding the menubar in Hildon, effectively disabling it
This commit is contained in:
parent
21e42ac8c7
commit
5417a4f52b
1 changed files with 1 additions and 1 deletions
|
@ -3084,8 +3084,8 @@ _action_menubar_activate (GtkToggleAction* action,
|
||||||
gboolean active = gtk_toggle_action_get_active (action);
|
gboolean active = gtk_toggle_action_get_active (action);
|
||||||
if (browser->settings)
|
if (browser->settings)
|
||||||
g_object_set (browser->settings, "show-menubar", active, NULL);
|
g_object_set (browser->settings, "show-menubar", active, NULL);
|
||||||
#if !HAVE_HILDON
|
|
||||||
sokoke_widget_set_visible (browser->menubar, active);
|
sokoke_widget_set_visible (browser->menubar, active);
|
||||||
|
#if !HAVE_HILDON
|
||||||
if (browser->settings)
|
if (browser->settings)
|
||||||
{
|
{
|
||||||
if (active)
|
if (active)
|
||||||
|
|
Loading…
Reference in a new issue