From dc5ecc5f72359a99e2f07c30addb858de9547da3 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 6 Dec 2008 04:53:30 +0100 Subject: [PATCH] Respect menubar visibility when restoring from fullscreen --- midori/midori-browser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index a94f8983..c925b2a3 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -3269,7 +3269,8 @@ midori_browser_window_state_event_cb (MidoriBrowser* browser, } else { - gtk_widget_show (browser->menubar); + if (katze_object_get_boolean (browser->settings, "show-menubar")) + gtk_widget_show (browser->menubar); gtk_widget_hide (browser->button_fullscreen); g_object_set (browser->button_fullscreen, "stock-id", GTK_STOCK_FULLSCREEN, NULL);