diff options
author | waker <wakeroid@gmail.com> | 2012-09-11 21:39:48 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-09-11 21:39:48 +0200 |
commit | 0271de4f03ac1011bf40a4b8c45a9bbb17f7b44c (patch) | |
tree | 117135daa2045359f8adaf5227b91a65ce4d9f75 /plugins/gtkui/trkproperties.c | |
parent | 41acf6572df6a38ea11196ab064e68d297d50ce1 (diff) |
gtkui: fixed focus issues with the add new field dialog
Diffstat (limited to 'plugins/gtkui/trkproperties.c')
-rw-r--r-- | plugins/gtkui/trkproperties.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/gtkui/trkproperties.c b/plugins/gtkui/trkproperties.c index 1ff8d21c..3b35273b 100644 --- a/plugins/gtkui/trkproperties.c +++ b/plugins/gtkui/trkproperties.c @@ -654,6 +654,7 @@ on_add_field_activate (GtkMenuItem *menuitem, return; // do not add field if Metadata tab is not focused } GtkWidget *dlg = create_entrydialog (); + gtk_window_set_transient_for (GTK_WINDOW (dlg), GTK_WINDOW (trackproperties)); gtk_dialog_set_default_response (GTK_DIALOG (dlg), GTK_RESPONSE_OK); gtk_window_set_title (GTK_WINDOW (dlg), _("Field name")); GtkWidget *e; @@ -720,6 +721,7 @@ on_add_field_activate (GtkMenuItem *menuitem, break; } gtk_widget_destroy (dlg); + gtk_window_present (GTK_WINDOW (trackproperties)); } void |