Respect menubar visibility when restoring from fullscreen

This commit is contained in:
Christian Dywan 2008-12-06 04:53:30 +01:00
parent 7f0563f5f4
commit dc5ecc5f72

View file

@ -3269,6 +3269,7 @@ midori_browser_window_state_event_cb (MidoriBrowser* browser,
}
else
{
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,