aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-dialog.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-04-06 01:52:17 +0800
committerChristian Persch <chpe@src.gnome.org>2004-04-06 01:52:17 +0800
commitebf8b6c7da6a87fab932f7120906fb125921141f (patch)
treeb49d0d1af64259171cbc5dd879de49da8a30aab4 /lib/ephy-dialog.c
parent1e1e94d9b0843c3c1aa99cbfcdf94c4dff4e6b07 (diff)
downloadgsoc2013-epiphany-ebf8b6c7da6a87fab932f7120906fb125921141f.tar
gsoc2013-epiphany-ebf8b6c7da6a87fab932f7120906fb125921141f.tar.gz
gsoc2013-epiphany-ebf8b6c7da6a87fab932f7120906fb125921141f.tar.bz2
gsoc2013-epiphany-ebf8b6c7da6a87fab932f7120906fb125921141f.tar.lz
gsoc2013-epiphany-ebf8b6c7da6a87fab932f7120906fb125921141f.tar.xz
gsoc2013-epiphany-ebf8b6c7da6a87fab932f7120906fb125921141f.tar.zst
gsoc2013-epiphany-ebf8b6c7da6a87fab932f7120906fb125921141f.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.c10
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)
{