Point out preview in title of file chooser GTK
authorH.G.Muller <hgm@hgm-xboard.(none)>
Wed, 20 Apr 2016 09:51:56 +0000 (11:51 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Wed, 20 Apr 2016 09:51:56 +0000 (11:51 +0200)
gtk/xoptions.c

index dedebff..a12a050 100644 (file)
@@ -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)
       {