diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-10-03 04:32:47 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-10-03 04:32:47 +0800 |
commit | fa877515d5a9dd4befe71291d7708649d979f51f (patch) | |
tree | 14deb73db35f3a724742a8eb12e673bb9f0ac59f | |
parent | 7605ce71b58d19479c277899b50c76fb19d5d598 (diff) | |
download | gsoc2013-epiphany-fa877515d5a9dd4befe71291d7708649d979f51f.tar gsoc2013-epiphany-fa877515d5a9dd4befe71291d7708649d979f51f.tar.gz gsoc2013-epiphany-fa877515d5a9dd4befe71291d7708649d979f51f.tar.bz2 gsoc2013-epiphany-fa877515d5a9dd4befe71291d7708649d979f51f.tar.lz gsoc2013-epiphany-fa877515d5a9dd4befe71291d7708649d979f51f.tar.xz gsoc2013-epiphany-fa877515d5a9dd4befe71291d7708649d979f51f.tar.zst gsoc2013-epiphany-fa877515d5a9dd4befe71291d7708649d979f51f.zip |
Add a window group for the history window.
2006-10-02 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-history-window.c: (confirmation_dialog_construct),
(ephy_history_window_construct):
Add a window group for the history window.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/ephy-history-window.c | 6 |
2 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2006-10-02 Christian Persch <chpe@cvs.gnome.org> + + * src/ephy-history-window.c: (confirmation_dialog_construct), + (ephy_history_window_construct): + + Add a window group for the history window. + 2006-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_load), diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index 437fd875d..3f3c1d9af 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -67,6 +67,7 @@ #include "ephy-node-common.h" #include "ephy-node-view.h" #include "ephy-bookmarks-ui.h" +#include "ephy-gui.h" static const GtkTargetEntry page_drag_types [] = { @@ -257,6 +258,9 @@ confirmation_dialog_construct (EphyHistoryWindow *editor) (GTK_MESSAGE_DIALOG (dialog), _("Clearing the browsing history will cause all" " history links to be permanently deleted.")); + + gtk_window_group_add_window (ephy_gui_ensure_window_group (GTK_WINDOW (editor)), + GTK_WINDOW (dialog)); button = gtk_button_new_with_label (_("Cl_ear")); image = gtk_image_new_from_stock (GTK_STOCK_CLEAR, GTK_ICON_SIZE_BUTTON); @@ -1180,6 +1184,8 @@ ephy_history_window_construct (EphyHistoryWindow *editor) GtkActionGroup *action_group; int url_col_id, title_col_id, details_value; + ephy_gui_ensure_window_group (GTK_WINDOW (editor)); + gtk_window_set_title (GTK_WINDOW (editor), _("History")); gtk_window_set_icon_name (GTK_WINDOW (editor), EPHY_STOCK_HISTORY); |