aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--src/ephy-window.c11
2 files changed, 9 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index b94a45c62..cea72858d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2004-01-04 Christian Persch <chpe@cvs.gnome.org>
+ * src/ephy-window.c: (confirm_close_with_modified_forms):
+
+ Daveb will hate me for this, but making the confirm dialogue only
+ window-modal will make menus not work after cancelling the close.
+ Removing this for the time being since it's a nasty regression,
+ until I find the bug.
+
+2004-01-04 Christian Persch <chpe@cvs.gnome.org>
+
* embed/ephy-embed.c: (ephy_embed_has_modified_forms):
* embed/ephy-embed.h:
* embed/mozilla/EphyBrowser.cpp:
diff --git a/src/ephy-window.c b/src/ephy-window.c
index a4f748aa5..361de631b 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -643,7 +643,6 @@ confirm_close_with_modified_forms (EphyWindow *window)
{
GtkWidget *dialog;
GtkWidget *hbox, *vbox, *label, *image;
- GtkWindowGroup *group;
char *text;
int response;
@@ -686,16 +685,6 @@ confirm_close_with_modified_forms (EphyWindow *window)
gtk_box_pack_start (GTK_BOX (vbox), label, TRUE, TRUE, 0);
gtk_widget_show (label);
- group = GTK_WINDOW (window)->group;
- if (group == NULL)
- {
- group = gtk_window_group_new ();
- gtk_window_group_add_window (group, GTK_WINDOW (window));
- g_object_unref (group);
- }
-
- gtk_window_group_add_window (group, GTK_WINDOW (dialog));
-
response = gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);