aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmark-properties.c3
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c3
-rw-r--r--src/bookmarks/ephy-new-bookmark.c3
-rw-r--r--src/ephy-history-window.c3
-rw-r--r--src/ephy-window.c3
-rw-r--r--src/window-commands.c3
6 files changed, 12 insertions, 6 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"));
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 8fd0115e1..8183cda73 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -1085,7 +1085,8 @@ ephy_history_window_construct (EphyHistoryWindow *editor)
ephy_state_add_window (GTK_WIDGET (editor),
"history_window",
- 450, 400);
+ 450, 400,
+ EPHY_STATE_WINDOW_SAVE_SIZE | EPHY_STATE_WINDOW_SAVE_POSITION);
ephy_state_add_paned (GTK_WIDGET (hpaned),
"history_paned",
130);
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 7aa87e8e7..e6e17c12b 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -968,7 +968,8 @@ ephy_window_show (GtkWidget *widget)
{
ephy_state_add_window (widget,
"main_window",
- 600, 500);
+ 600, 500,
+ EPHY_STATE_WINDOW_SAVE_SIZE);
}
if ((window->priv->chrome_mask & EMBED_CHROME_OPENASPOPUP) &&
diff --git a/src/window-commands.c b/src/window-commands.c
index 1647d8fd2..727429106 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -711,7 +711,8 @@ window_cmd_edit_toolbar (EggAction *action,
G_CALLBACK (toolbar_editor_response_cb), NULL);
ephy_state_add_window (dialog,
"toolbar_editor",
- 500, 330);
+ 500, 330,
+ EPHY_STATE_WINDOW_SAVE_SIZE);
gtk_widget_show (dialog);
egg_editable_toolbar_set_edit_mode (EGG_EDITABLE_TOOLBAR (t), TRUE);