Mercurial > emacs
comparison src/gtkutil.c @ 73048:4a83c4a89b5e
* gtkutil.c (xg_get_file_with_chooser): Only chow C-l help for
Gtk+ versions < 2.10.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Fri, 22 Sep 2006 08:19:55 +0000 |
parents | 13a9a628ff21 |
children | dcaff8f63a2b |
comparison
equal
deleted
inserted
replaced
73047:0eccd91da23e | 73048:4a83c4a89b5e |
---|---|
1380 G_CALLBACK (xg_toggle_notify_cb), wtoggle); | 1380 G_CALLBACK (xg_toggle_notify_cb), wtoggle); |
1381 | 1381 |
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 " |
1389 "use-file-dialog to turn it off."); | 1391 "use-file-dialog to turn it off."); |
1390 | 1392 |