changeset 67842:095b05723996

* xfns.c: x_show_hidden_files, new variable. (syms_of_xfns): Defvar it.
author Jan Djärv <jan.h.d@swipnet.se>
date Tue, 27 Dec 2005 10:39:51 +0000
parents 53d14610ec35
children 6cf5dc28bd1e
files src/xfns.c
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Tue Dec 27 05:47:21 2005 +0000
+++ b/src/xfns.c	Tue Dec 27 10:39:51 2005 +0000
@@ -154,6 +154,10 @@
 
 int x_use_old_gtk_file_dialog;
 
+/* If non-zero, by default show hidden files in the GTK file chooser.  */
+
+int x_gtk_show_hidden_files;
+
 /* The background and shape of the mouse pointer, and shape when not
    over text or in the modeline.  */
 
@@ -5788,6 +5792,12 @@
 variable `use-file-dialog'.  */);
   x_use_old_gtk_file_dialog = 0;
 
+  DEFVAR_BOOL ("x-gtk-show-hidden-files", &x_gtk_show_hidden_files,
+    doc: /* *If non-nil, the GTK file chooser will by default show hidden files.
+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;
+
   Fprovide (intern ("x"), Qnil);
 
 #ifdef USE_X_TOOLKIT