diff options
author | waker <wakeroid@gmail.com> | 2011-03-12 20:54:28 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-03-12 20:54:28 +0100 |
commit | 6bad3675ce9cab4d340a0265a33b80b81e4388cd (patch) | |
tree | 7928b51a4bea904ab80b77fbef2eb5a421f44a00 /plugins | |
parent | 5b4ba3bd02c1c52d56084dfd8bcce73dad54b2c0 (diff) |
fixed wrong parent window in trkproperties message dialog
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gtkui/trkproperties.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/trkproperties.c b/plugins/gtkui/trkproperties.c index 06123a62..6c11b72b 100644 --- a/plugins/gtkui/trkproperties.c +++ b/plugins/gtkui/trkproperties.c @@ -161,7 +161,7 @@ on_trackproperties_delete_event (GtkWidget *widget, gpointer user_data) { if (trkproperties_modified) { - GtkWidget *dlg = gtk_message_dialog_new (GTK_WINDOW (mainwin), GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_YES_NO, _("You've modified data for this track.")); + GtkWidget *dlg = gtk_message_dialog_new (GTK_WINDOW (trackproperties), GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_YES_NO, _("You've modified data for this track.")); gtk_window_set_transient_for (GTK_WINDOW (dlg), GTK_WINDOW (trackproperties)); gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dlg), _("Really close the window?")); gtk_window_set_title (GTK_WINDOW (dlg), _("Warning")); |