]> code.delx.au - gnu-emacs/commitdiff
* xfns.c (syms_of_xfns): New variable: x-gtk-show-chooser-help-text.
authorJan Djärv <jan.h.d@swipnet.se>
Sat, 16 Sep 2006 17:43:35 +0000 (17:43 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Sat, 16 Sep 2006 17:43:35 +0000 (17:43 +0000)
src/xfns.c

index 2bb4310e4379753e7c95407ea22cc4fb74e61ce9..ea6d43f649f16d76f66301804178eb6777c1c9b6 100644 (file)
@@ -158,6 +158,10 @@ int x_use_old_gtk_file_dialog;
 
 int x_gtk_show_hidden_files;
 
+/* If non-zero, don't show additional help text in the GTK file chooser.  */
+
+int x_gtk_show_chooser_help_text;
+
 /* If non-zero, don't collapse to tool bar when it is detached.  */
 
 int x_gtk_whole_detached_tool_bar;
@@ -5814,6 +5818,12 @@ Note that this is just the default, there is a toggle button on the file
 chooser to show or not show hidden files on a case by case basis.  */);
   x_gtk_show_hidden_files = 0;
 
+  DEFVAR_BOOL ("x-gtk-show-chooser-help-text", &x_gtk_show_chooser_help_text,
+    doc: /* *If non-nil, the GTK file chooser will by show additional help text.
+If more space for files in the file chooser dialog is wanted, set this to nil
+to turn the additional text off.  */);
+  x_gtk_show_chooser_help_text = 1;
+
   DEFVAR_BOOL ("x-gtk-whole-detached-tool-bar", &x_gtk_whole_detached_tool_bar,
     doc: /* *If non-nil, a detached tool bar is shown in full.
 The default is to just show an arrow and pressing on that arrow shows