aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-05 00:07:38 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-05 00:07:38 +0800
commit488df92059bf5fc9aaf70f88d5c4ece00129d3d5 (patch)
treee6e04b2103ded1dde54e5dbc17b0d74f6cce84e5 /src
parent753b29514d19fd54d51c2346bc6bb08ff1093cac (diff)
downloadgsoc2013-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.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c11
1 files changed, 0 insertions, 11 deletions
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);