diff options
author | David Bordoley <bordoley@msu.edu> | 2003-05-14 21:41:46 +0800 |
---|---|---|
committer | Dave Bordoley <Bordoley@src.gnome.org> | 2003-05-14 21:41:46 +0800 |
commit | 9d573dc9d9f047d1ec4bbb0776f3c7bc5e83768e (patch) | |
tree | 7c21262dfeb545257f7882a76c27bc7a090cf49b /src/bookmarks | |
parent | ab4fc64696bd1f23bc41943b91939b77a86e164a (diff) | |
download | gsoc2013-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 'src/bookmarks')
-rw-r--r-- | src/bookmarks/ephy-bookmark-properties.c | 3 | ||||
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 3 | ||||
-rw-r--r-- | src/bookmarks/ephy-new-bookmark.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/bookmarks/ephy-bookmark-properties.c b/src/bookmarks/ephy-bookmark-properties.c index 95b956e67..5445a7bfe 100644 --- a/src/bookmarks/ephy-bookmark-properties.c +++ b/src/bookmarks/ephy-bookmark-properties.c @@ -325,7 +325,8 @@ build_ui (EphyBookmarkProperties *editor) ephy_state_add_window (GTK_WIDGET(editor), "bookmark_properties", - 290, 280); + 290, 280, + EPHY_STATE_WINDOW_SAVE_SIZE); update_window_title (editor); set_window_icon (editor); diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index 964fd301c..de9520d2e 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -1272,7 +1272,8 @@ ephy_bookmarks_editor_construct (EphyBookmarksEditor *editor) ephy_state_add_window (GTK_WIDGET(editor), "bookmarks_editor", - 450, 400); + 450, 400, + EPHY_STATE_WINDOW_SAVE_SIZE | EPHY_STATE_WINDOW_SAVE_POSITION); ephy_state_add_paned (GTK_WIDGET (hpaned), "bookmarks_paned", 130); diff --git a/src/bookmarks/ephy-new-bookmark.c b/src/bookmarks/ephy-new-bookmark.c index 973cb489d..b6fd1dcdf 100644 --- a/src/bookmarks/ephy-new-bookmark.c +++ b/src/bookmarks/ephy-new-bookmark.c @@ -256,7 +256,8 @@ ephy_new_bookmark_construct (EphyNewBookmark *editor) ephy_state_add_window (GTK_WIDGET(editor), "new_bookmark", - 280, 240); + 280, 240, + EPHY_STATE_WINDOW_SAVE_SIZE); gtk_window_set_title (GTK_WINDOW (editor), _("New Bookmark")); |