From 9ee5d416b6c278dcb4231e0c5e483bb185de6545 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Wed, 20 Apr 2016 11:51:56 +0200 Subject: [PATCH] Point out preview in title of file chooser GTK --- gtk/xoptions.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) 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) { -- 1.7.0.4