diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-01-25 02:41:33 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-01-25 02:41:33 +0800 |
commit | 1031add940150d838c6cad57df633df3827dc494 (patch) | |
tree | e65b097e41f6c9979c913691788da12d19f691ef | |
parent | 7f3a1cdca5440ab0ab830c67be4aba8e722e314d (diff) | |
download | gsoc2013-epiphany-1031add940150d838c6cad57df633df3827dc494.tar.gz gsoc2013-epiphany-1031add940150d838c6cad57df633df3827dc494.tar.zst gsoc2013-epiphany-1031add940150d838c6cad57df633df3827dc494.zip |
Prepare for 1.1.5
2004-01-24 Marco Pesenti Gritti <marco@gnome.org>
* configure.in:
Prepare for 1.1.5
* lib/ephy-dialog.c: (setup_default_size):
Fix a bug with downloader dialog size persistance
-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; } |