Commit 7b7d4a79 authored by Jan Djärv's avatar Jan Djärv
Browse files

* gtkutil.c (xg_get_file_with_chooser): Only chow C-l help for

 Gtk+ versions < 2.10.
parent db4fd914
......@@ -1382,7 +1382,9 @@ xg_get_file_with_chooser (f, prompt, default_filename,
if (x_gtk_file_dialog_help_text)
message[0] = '\0';
/* Gtk+ 2.10 has the file name text entry box integrated in the dialog.
Show the C-l help text only for versions < 2.10. */
if (gtk_check_version(2, 10, 0) && action != GTK_FILE_CHOOSER_ACTION_SAVE)
strcat (message, "\nType C-l to display a file name text entry box.\n");
strcat (message, "\nIf you don't like this file selector, use the "
"corresponding\nkey binding or customize "
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment