aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-history-window.c6
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f9473cca..2d3529912 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);