aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2006-09-22 08:19:55 +0000
committerJan Djärv2006-09-22 08:19:55 +0000
commit7b7d4a7915edf6aabe29e0e0045439b3d8086337 (patch)
tree13e080063dd0dfa6ffbbeeb74b9b6baf87f77a35 /src
parentdb4fd914932c4d83888428a3ef521bf79b72f920 (diff)
downloademacs-7b7d4a7915edf6aabe29e0e0045439b3d8086337.tar.gz
emacs-7b7d4a7915edf6aabe29e0e0045439b3d8086337.zip
* gtkutil.c (xg_get_file_with_chooser): Only chow C-l help for
Gtk+ versions < 2.10.
Diffstat (limited to 'src')
-rw-r--r--src/gtkutil.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c
index cdc87044c81..19fb8ef69a3 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -1382,7 +1382,9 @@ xg_get_file_with_chooser (f, prompt, default_filename,
1382 if (x_gtk_file_dialog_help_text) 1382 if (x_gtk_file_dialog_help_text)
1383 { 1383 {
1384 message[0] = '\0'; 1384 message[0] = '\0';
1385 if (action != GTK_FILE_CHOOSER_ACTION_SAVE) 1385 /* Gtk+ 2.10 has the file name text entry box integrated in the dialog.
1386 Show the C-l help text only for versions < 2.10. */
1387 if (gtk_check_version(2, 10, 0) && action != GTK_FILE_CHOOSER_ACTION_SAVE)
1386 strcat (message, "\nType C-l to display a file name text entry box.\n"); 1388 strcat (message, "\nType C-l to display a file name text entry box.\n");
1387 strcat (message, "\nIf you don't like this file selector, use the " 1389 strcat (message, "\nIf you don't like this file selector, use the "
1388 "corresponding\nkey binding or customize " 1390 "corresponding\nkey binding or customize "