X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/9ad9f8f7123a35a59ddce3d0903bedce174c7f0a..d8b71e035c1a20378706dc18e36aa54771251954:/disobedience/properties.c diff --git a/disobedience/properties.c b/disobedience/properties.c index 62ea22f..092e8db 100644 --- a/disobedience/properties.c +++ b/disobedience/properties.c @@ -186,7 +186,8 @@ static gboolean properties_keypress(GtkWidget attribute((unused)) *widget, } } -void properties(int ntracks, const char **tracks) { +void properties(int ntracks, const char **tracks, + GtkWidget *parent) { int n, m; struct prefdata *f; GtkWidget *buttonbox, *vbox, *label, *entry, *propagate; @@ -299,7 +300,9 @@ void properties(int ntracks, const char **tracks) { if(pw) progress_window_progress(pw, 0, 0); /* Pop up a progress bar while we're waiting */ - pw = progress_window_new("Fetching Track Properties"); + while(parent->parent) + parent = parent->parent; + pw = progress_window_new("Fetching Track Properties", parent); } /* Everything is filled in now */