aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-categories-config.c
diff options
context:
space:
mode:
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);