diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-10-08 20:18:58 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-10-08 20:18:58 +0800 |
commit | 244b0d64db282670ab2f0d6baa49366708ad26e8 (patch) | |
tree | 1c6f8b3352d93081b40dfa2adfcdbb155e748ee1 /src | |
parent | 38fd32a8c0541a959537161ac7dd8737a0c86b7b (diff) | |
download | gsoc2013-epiphany-244b0d64db282670ab2f0d6baa49366708ad26e8.tar gsoc2013-epiphany-244b0d64db282670ab2f0d6baa49366708ad26e8.tar.gz gsoc2013-epiphany-244b0d64db282670ab2f0d6baa49366708ad26e8.tar.bz2 gsoc2013-epiphany-244b0d64db282670ab2f0d6baa49366708ad26e8.tar.lz gsoc2013-epiphany-244b0d64db282670ab2f0d6baa49366708ad26e8.tar.xz gsoc2013-epiphany-244b0d64db282670ab2f0d6baa49366708ad26e8.tar.zst gsoc2013-epiphany-244b0d64db282670ab2f0d6baa49366708ad26e8.zip |
reviewed by: Christian Persch <chpe@cvs.gnome.org>
2004-10-08 Marco Pesenti Gritti <marco@gnome.org>
reviewed by: Christian Persch <chpe@cvs.gnome.org>
* lib/ephy-dialog.c: (setup_default_size):
* lib/ephy-state.c: (create_window_node), (ephy_state_add_window):
* lib/ephy-state.h:
* src/bookmarks/ephy-bookmark-properties.c: (build_ui):
* src/bookmarks/ephy-bookmarks-editor.c:
(ephy_bookmarks_editor_construct):
* src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct):
* src/ephy-history-window.c: (ephy_history_window_construct):
* src/ephy-window.c: (ephy_window_show):
* src/pdm-dialog.c: (show_cookies_properties):
* src/window-commands.c: (window_cmd_edit_toolbar):
Allow to set the default window state to maximize.
Default to maximize for the browser window.
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-history-window.c | 2 | ||||
-rw-r--r-- | src/ephy-window.c | 2 | ||||
-rwxr-xr-x | src/pdm-dialog.c | 3 | ||||
-rw-r--r-- | src/window-commands.c | 5 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index ba21bb048..cdf89af1a 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -1359,7 +1359,7 @@ ephy_history_window_construct (EphyHistoryWindow *editor) ephy_state_add_window (GTK_WIDGET (editor), "history_window", - 450, 400, + 450, 400, FALSE, EPHY_STATE_WINDOW_SAVE_SIZE | EPHY_STATE_WINDOW_SAVE_POSITION); ephy_state_add_paned (GTK_WIDGET (hpaned), "history_paned", diff --git a/src/ephy-window.c b/src/ephy-window.c index 4c669882f..46d3fa0b4 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -2689,7 +2689,7 @@ ephy_window_show (GtkWidget *widget) if (width == -1 && height == -1) { ephy_state_add_window (widget, "main_window", 600, 500, - EPHY_STATE_WINDOW_SAVE_SIZE); + TRUE, EPHY_STATE_WINDOW_SAVE_SIZE); } window->priv->has_size = TRUE; diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c index e99a872bd..89876bf9b 100755 --- a/src/pdm-dialog.c +++ b/src/pdm-dialog.c @@ -907,7 +907,8 @@ show_cookies_properties (PdmDialog *dialog, GTK_DIALOG_MODAL, GTK_STOCK_CLOSE, 0, NULL); ephy_state_add_window (GTK_WIDGET (gdialog), "cookie_properties", - -1, -1, EPHY_STATE_WINDOW_SAVE_SIZE | EPHY_STATE_WINDOW_SAVE_POSITION); + -1, -1, FALSE, + EPHY_STATE_WINDOW_SAVE_SIZE | EPHY_STATE_WINDOW_SAVE_POSITION); gtk_dialog_set_has_separator (GTK_DIALOG(gdialog), FALSE); gtk_container_set_border_width (GTK_CONTAINER(gdialog), 6); diff --git a/src/window-commands.c b/src/window-commands.c index 31639b77e..a0d935887 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -906,9 +906,8 @@ window_cmd_edit_toolbar (GtkAction *action, g_signal_connect (G_OBJECT (dialog), "response", G_CALLBACK (toolbar_editor_response_cb), model); - ephy_state_add_window (dialog, - "toolbar_editor", - 500, 330, + ephy_state_add_window (dialog, "toolbar_editor", + 500, 330, FALSE, EPHY_STATE_WINDOW_SAVE_SIZE); gtk_widget_show (dialog); |