diff src/xfns.c @ 72932:eea4777d0d23

* xfns.c (syms_of_xfns): New variable: x-gtk-show-chooser-help-text.
author Jan Djärv <jan.h.d@swipnet.se>
date Sat, 16 Sep 2006 17:43:35 +0000
parents 049cdc4ea1a1
children 4e1cc9325b0e
line wrap: on
line diff
--- a/src/xfns.c	Sat Sep 16 17:43:21 2006 +0000
+++ b/src/xfns.c	Sat Sep 16 17:43:35 2006 +0000
@@ -158,6 +158,10 @@
 
 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 @@
 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