From: H.G.Muller Date: Wed, 20 Apr 2016 09:51:56 +0000 (+0200) Subject: Point out preview in title of file chooser GTK X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=9ee5d416b6c278dcb4231e0c5e483bb185de6545;p=xboard.git Point out preview in title of file chooser GTK --- diff --git a/gtk/xoptions.c b/gtk/xoptions.c index dedebff..a12a050 100644 --- a/gtk/xoptions.c +++ b/gtk/xoptions.c @@ -1179,8 +1179,10 @@ void BrowseGTK(GtkWidget *widget, gpointer gdata) messedUp = FALSE; n = (int)(intptr_t) currentOption[opt_i].choice; - if (n && !currentCps) + if (n && !currentCps) { g_signal_connect (GTK_DIALOG (dialog), "selection-changed", G_CALLBACK(BrowseCallback), (gpointer)(intptr_t) opt_i); + gtk_window_set_title(GTK_WINDOW(dialog), _("*** Preview of selection in board window ***")); + } if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT) {