Show the menubar when restoring from fullscreen and it was visible before

This commit is contained in:
Christian Dywan 2009-11-09 21:49:01 +01:00
parent b799be5386
commit d0dff4dd05

View file

@ -4901,7 +4901,7 @@ midori_browser_window_state_event_cb (MidoriBrowser* browser,
else else
{ {
if (katze_object_get_boolean (browser->settings, "show-menubar")) if (katze_object_get_boolean (browser->settings, "show-menubar"))
gtk_widget_show (browser->navigationbar); gtk_widget_show (browser->menubar);
if (katze_object_get_boolean (browser->settings, "show-navigationbar")) if (katze_object_get_boolean (browser->settings, "show-navigationbar"))
gtk_widget_show (browser->navigationbar); gtk_widget_show (browser->navigationbar);
} }