diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | NEWS | 8 | ||||
-rw-r--r-- | lib/ephy-dialog.c | 13 |
3 files changed, 19 insertions, 4 deletions
@@ -6,7 +6,7 @@ * lib/ephy-dialog.c: (setup_default_size): - Fix a bug with downloader dialog size persistance + Fix a bug with dialog size persistance 2004-01-24 Marco Pesenti Gritti <marco@gnome.org> @@ -1,4 +1,12 @@ ============== +Epiphany 1.1.5 +============== + +Bugfixes + + * Fix dialogs size persistance + +============== Epiphany 1.1.4 ============== diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c index 4d1fd9e17..0ed3df6fd 100644 --- a/lib/ephy-dialog.c +++ b/lib/ephy-dialog.c @@ -968,11 +968,18 @@ setup_default_size (EphyDialog *dialog) { if (dialog->priv->has_default_size == FALSE) { + EphyStateWindowFlags flags; + + flags = EPHY_STATE_WINDOW_SAVE_SIZE; + + if (dialog->priv->persist_position) + { + flags |= EPHY_STATE_WINDOW_SAVE_POSITION; + } + ephy_state_add_window (dialog->priv->dialog, dialog->priv->name, -1, -1, - dialog->priv->persist_position ? - EPHY_STATE_WINDOW_SAVE_POSITION : - EPHY_STATE_WINDOW_SAVE_SIZE); + flags); dialog->priv->has_default_size = TRUE; } |