diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c index 8cea134c1ff..33823b28970 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -154,6 +154,10 @@ int display_hourglass_p; | |||
| 154 | 154 | ||
| 155 | int x_use_old_gtk_file_dialog; | 155 | int x_use_old_gtk_file_dialog; |
| 156 | 156 | ||
| 157 | /* If non-zero, by default show hidden files in the GTK file chooser. */ | ||
| 158 | |||
| 159 | int x_gtk_show_hidden_files; | ||
| 160 | |||
| 157 | /* The background and shape of the mouse pointer, and shape when not | 161 | /* The background and shape of the mouse pointer, and shape when not |
| 158 | over text or in the modeline. */ | 162 | over text or in the modeline. */ |
| 159 | 163 | ||
| @@ -5788,6 +5792,12 @@ chooser is used instead. To turn off all file dialogs set the | |||
| 5788 | variable `use-file-dialog'. */); | 5792 | variable `use-file-dialog'. */); |
| 5789 | x_use_old_gtk_file_dialog = 0; | 5793 | x_use_old_gtk_file_dialog = 0; |
| 5790 | 5794 | ||
| 5795 | DEFVAR_BOOL ("x-gtk-show-hidden-files", &x_gtk_show_hidden_files, | ||
| 5796 | doc: /* *If non-nil, the GTK file chooser will by default show hidden files. | ||
| 5797 | Note that this is just the default, there is a toggle button on the file | ||
| 5798 | chooser to show or not show hidden files on a case by case basis. */); | ||
| 5799 | x_gtk_show_hidden_files = 0; | ||
| 5800 | |||
| 5791 | Fprovide (intern ("x"), Qnil); | 5801 | Fprovide (intern ("x"), Qnil); |
| 5792 | 5802 | ||
| 5793 | #ifdef USE_X_TOOLKIT | 5803 | #ifdef USE_X_TOOLKIT |