diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-04-06 01:53:30 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-04-06 01:53:30 +0800 |
commit | 893c58cbd97f46616c52d3ec3fa0b3df3f56f972 (patch) | |
tree | 252fead6cbee150eadf11282592ff797c4bf8b09 /lib/ephy-dialog.c | |
parent | 77f5531c6da1f2f9b395510bd05748f504b87b8b (diff) | |
download | gsoc2013-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 'lib/ephy-dialog.c')
-rw-r--r-- | lib/ephy-dialog.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c index 5013281ef..c359d5274 100644 --- a/lib/ephy-dialog.c +++ b/lib/ephy-dialog.c @@ -1285,7 +1285,15 @@ ephy_dialog_finalize (GObject *object) G_OBJECT_CLASS (parent_class)->finalize (object); } -static void +GtkWidget * +ephy_dialog_get_parent (EphyDialog *dialog) +{ + g_return_val_if_fail (EPHY_IS_DIALOG (dialog), NULL); + + return dialog->priv->parent; +} + +void ephy_dialog_set_parent (EphyDialog *dialog, GtkWidget *parent) { |