diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-05 00:07:38 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-05 00:07:38 +0800 |
commit | 488df92059bf5fc9aaf70f88d5c4ece00129d3d5 (patch) | |
tree | e6e04b2103ded1dde54e5dbc17b0d74f6cce84e5 | |
parent | 753b29514d19fd54d51c2346bc6bb08ff1093cac (diff) | |
download | gsoc2013-epiphany-488df92059bf5fc9aaf70f88d5c4ece00129d3d5.tar gsoc2013-epiphany-488df92059bf5fc9aaf70f88d5c4ece00129d3d5.tar.gz gsoc2013-epiphany-488df92059bf5fc9aaf70f88d5c4ece00129d3d5.tar.bz2 gsoc2013-epiphany-488df92059bf5fc9aaf70f88d5c4ece00129d3d5.tar.lz gsoc2013-epiphany-488df92059bf5fc9aaf70f88d5c4ece00129d3d5.tar.xz gsoc2013-epiphany-488df92059bf5fc9aaf70f88d5c4ece00129d3d5.tar.zst gsoc2013-epiphany-488df92059bf5fc9aaf70f88d5c4ece00129d3d5.zip |
Daveb will hate me for this, but making the confirm dialogue only
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.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | src/ephy-window.c | 11 |
2 files changed, 9 insertions, 11 deletions
@@ -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); |