aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-categories-config.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2005-01-08 02:08:56 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-01-08 02:08:56 +0800
commit594b4609238bc4168c83bb5800149d7c5036df9d (patch)
treeeb6e326b43e1078ff4e7e7bfa098078d6467ac73 /e-util/e-categories-config.c
parentf679ec6e047ae7fad54444965827497a33118624 (diff)
downloadgsoc2013-evolution-594b4609238bc4168c83bb5800149d7c5036df9d.tar.gz
gsoc2013-evolution-594b4609238bc4168c83bb5800149d7c5036df9d.tar.zst
gsoc2013-evolution-594b4609238bc4168c83bb5800149d7c5036df9d.zip
set the dialog's parent.
2005-01-07 Rodrigo Moya <rodrigo@novell.com> * e-categories-config.c (e_categories_config_open_dialog_for_entry): set the dialog's parent. svn path=/trunk/; revision=28276
Diffstat (limited to 'e-util/e-categories-config.c')
-rw-r--r--e-util/e-categories-config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/e-util/e-categories-config.c b/e-util/e-categories-config.c
index cdd1c0b9ed..af5961ef5d 100644
--- a/e-util/e-categories-config.c
+++ b/e-util/e-categories-config.c
@@ -86,6 +86,8 @@ e_categories_config_open_dialog_for_entry (GtkEntry *entry)
text = gtk_entry_get_text (GTK_ENTRY (entry));
dialog = GTK_DIALOG (e_categories_dialog_new (text));
+
+ gtk_window_set_transient_for (GTK_WINDOW (dialog), gtk_widget_get_toplevel (GTK_WIDGET (entry)));
/* run the dialog */
result = gtk_dialog_run (dialog);