aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-dialog.c
diff options
context:
space:
mode:
authorDavid Bordoley <bordoley@msu.edu>2003-05-14 21:41:46 +0800
committerDave Bordoley <Bordoley@src.gnome.org>2003-05-14 21:41:46 +0800
commit9d573dc9d9f047d1ec4bbb0776f3c7bc5e83768e (patch)
tree7c21262dfeb545257f7882a76c27bc7a090cf49b /lib/ephy-dialog.c
parentab4fc64696bd1f23bc41943b91939b77a86e164a (diff)
downloadgsoc2013-epiphany-9d573dc9d9f047d1ec4bbb0776f3c7bc5e83768e.tar.gz
gsoc2013-epiphany-9d573dc9d9f047d1ec4bbb0776f3c7bc5e83768e.tar.zst
gsoc2013-epiphany-9d573dc9d9f047d1ec4bbb0776f3c7bc5e83768e.zip
Add some flags so that we can choose to save position or size or both.
2003-05-14 David Bordoley <bordoley@msu.edu> * lib/ephy-state.c: (ephy_state_add_window): * lib/ephy-state.h: (EphyStateWindowFlags): Add some flags so that we can choose to save position or size or both. * lib/ephy-dialog.c: (setup_default_size): * src/ephy-window.c: (ephy_window_show): * src/window-commands.c: (window_cmd_edit_toolbar): * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct): Only save size for dialogs and main windows. * src/ephy-history-window.c: (ephy_history_window_construct): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Save size and position.
Diffstat (limited to 'lib/ephy-dialog.c')
-rw-r--r--lib/ephy-dialog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index 7262bc59c..8bdfc5330 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -841,7 +841,8 @@ static void
setup_default_size (EphyDialog *dialog)
{
ephy_state_add_window (dialog->priv->dialog,
- dialog->priv->name, -1, -1);
+ dialog->priv->name, -1, -1,
+ EPHY_STATE_WINDOW_SAVE_SIZE);
}
static gint