aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-04-06 01:53:30 +0800
committerChristian Persch <chpe@src.gnome.org>2004-04-06 01:53:30 +0800
commit893c58cbd97f46616c52d3ec3fa0b3df3f56f972 (patch)
tree252fead6cbee150eadf11282592ff797c4bf8b09 /src/window-commands.c
parent77f5531c6da1f2f9b395510bd05748f504b87b8b (diff)
downloadgsoc2013-epiphany-893c58cbd97f46616c52d3ec3fa0b3df3f56f972.tar
gsoc2013-epiphany-893c58cbd97f46616c52d3ec3fa0b3df3f56f972.tar.gz
gsoc2013-epiphany-893c58cbd97f46616c52d3ec3fa0b3df3f56f972.tar.bz2
gsoc2013-epiphany-893c58cbd97f46616c52d3ec3fa0b3df3f56f972.tar.lz
gsoc2013-epiphany-893c58cbd97f46616c52d3ec3fa0b3df3f56f972.tar.xz
gsoc2013-epiphany-893c58cbd97f46616c52d3ec3fa0b3df3f56f972.tar.zst
gsoc2013-epiphany-893c58cbd97f46616c52d3ec3fa0b3df3f56f972.zip
Make prefs, pdm and print setup dialogues transient to their parent. Fixes
2004-04-05 Christian Persch <chpe@cvs.gnome.org> * data/glade/prefs-dialog.glade: * lib/ephy-dialog.c: (ephy_dialog_get_parent): * lib/ephy-dialog.h: * src/prefs-dialog.c: (prefs_homepage_current_button_clicked_cb): * src/window-commands.c: (window_cmd_file_print_setup), (window_cmd_edit_personal_data), (window_cmd_edit_prefs): Make prefs, pdm and print setup dialogues transient to their parent. Fixes bug #139124.
Diffstat (limited to 'src/window-commands.c')
-rw-r--r--src/window-commands.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index f6618f985..af9d26ef2 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -76,6 +76,7 @@ window_cmd_file_print_setup (GtkAction *action,
EphyDialog *dialog;
dialog = EPHY_DIALOG (ephy_shell_get_print_setup_dialog (ephy_shell));
+ ephy_dialog_set_parent (dialog, GTK_WIDGET (window));
ephy_dialog_show (dialog);
}
@@ -785,6 +786,7 @@ window_cmd_edit_personal_data (GtkAction *action,
EphyDialog *dialog;
dialog = EPHY_DIALOG (ephy_shell_get_pdm_dialog (ephy_shell));
+ ephy_dialog_set_parent (dialog, GTK_WIDGET (window));
ephy_dialog_show (dialog);
}
@@ -796,6 +798,7 @@ window_cmd_edit_prefs (GtkAction *action,
EphyDialog *dialog;
dialog = EPHY_DIALOG (ephy_shell_get_prefs_dialog (ephy_shell));
+ ephy_dialog_set_parent (dialog, GTK_WIDGET (window));
ephy_dialog_show (dialog);
}