Set minimize property from item when creating view

Fixes: https://bugs.launchpad.net/midori/+bug/903325
This commit is contained in:
Christian Dywan 2011-12-14 01:15:26 +01:00
parent 00d8621fe7
commit 7e50bb18f8

View file

@ -3294,7 +3294,11 @@ midori_view_new_with_item (KatzeItem* item,
if (settings)
_midori_view_set_settings (view, settings);
if (item)
{
katze_object_assign (view->item, katze_item_copy (item));
view->minimized = katze_item_get_meta_string (
view->item, "minimized") != NULL;
}
gtk_widget_show ((GtkWidget*)view);
return (GtkWidget*)view;
}