aboutsummaryrefslogtreecommitdiffstats
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
parentf679ec6e047ae7fad54444965827497a33118624 (diff)
downloadgsoc2013-evolution-594b4609238bc4168c83bb5800149d7c5036df9d.tar
gsoc2013-evolution-594b4609238bc4168c83bb5800149d7c5036df9d.tar.gz
gsoc2013-evolution-594b4609238bc4168c83bb5800149d7c5036df9d.tar.bz2
gsoc2013-evolution-594b4609238bc4168c83bb5800149d7c5036df9d.tar.lz
gsoc2013-evolution-594b4609238bc4168c83bb5800149d7c5036df9d.tar.xz
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
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-categories-config.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 248d2c0c68..324e44b9fc 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,6 +1,11 @@
2005-01-07 Rodrigo Moya <rodrigo@novell.com>
* e-categories-config.c (e_categories_config_open_dialog_for_entry):
+ set the dialog's parent.
+
+2005-01-07 Rodrigo Moya <rodrigo@novell.com>
+
+ * e-categories-config.c (e_categories_config_open_dialog_for_entry):
use the new ECategoriesDialog in libedataserverui.
2005-01-06 Rodney Dawes <dobey@novell.com>
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);