projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b2460f2
)
Point out preview in title of file chooser GTK
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Wed, 20 Apr 2016 09:51:56 +0000 (11:51 +0200)
committer
H.G.Muller
<hgm@hgm-xboard.(none)>
Wed, 20 Apr 2016 09:51:56 +0000 (11:51 +0200)
gtk/xoptions.c
patch
|
blob
|
history
diff --git
a/gtk/xoptions.c
b/gtk/xoptions.c
index
dedebff
..
a12a050
100644
(file)
--- 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)
{