From 594b4609238bc4168c83bb5800149d7c5036df9d Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Fri, 7 Jan 2005 18:08:56 +0000 Subject: set the dialog's parent. 2005-01-07 Rodrigo Moya * e-categories-config.c (e_categories_config_open_dialog_for_entry): set the dialog's parent. svn path=/trunk/; revision=28276 --- e-util/e-categories-config.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'e-util/e-categories-config.c') 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); -- cgit