Mercurial > emacs
diff src/xfns.c @ 57941:68ea73fe257b
* gtkutil.h: Declare use_old_gtk_file_dialog.
* gtkutil.c: Make use_old_gtk_file_dialog non-static.
(xg_initialize): Moved DEFVAR_BOOL for use_old_gtk_file_dialog ...
* xfns.c (syms_of_xfns): ... to here.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Thu, 04 Nov 2004 15:05:27 +0000 |
parents | c955f6add62a |
children | aaad85fd645c 7a0245dd1848 cb7f41387eb3 |
line wrap: on
line diff
--- a/src/xfns.c Thu Nov 04 14:18:22 2004 +0000 +++ b/src/xfns.c Thu Nov 04 15:05:27 2004 +0000 @@ -5557,6 +5557,14 @@ Fprovide (intern ("x-toolkit"), Qnil); Fprovide (intern ("gtk"), Qnil); +#ifdef HAVE_GTK_FILE_BOTH + DEFVAR_BOOL ("use-old-gtk-file-dialog", &use_old_gtk_file_dialog, + doc: /* *Non-nil means that the old GTK file selection dialog is used. +If nil the new GTK file chooser is used instead. To turn off +all file dialogs set the variable `use-file-dialog'. */); + use_old_gtk_file_dialog = 0; +#endif + DEFVAR_LISP ("gtk-version-string", &Vgtk_version_string, doc: /* Version info for GTK+. */); {