[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xfns.c [emacs-unicode-2]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/src/xfns.c [emacs-unicode-2] |
Date: |
Wed, 08 Dec 2004 00:47:42 -0500 |
Index: emacs/src/xfns.c
diff -c emacs/src/xfns.c:1.590.2.13 emacs/src/xfns.c:1.590.2.14
*** emacs/src/xfns.c:1.590.2.13 Fri Nov 19 06:54:58 2004
--- emacs/src/xfns.c Wed Dec 8 05:02:19 2004
***************
*** 152,157 ****
--- 152,161 ----
int display_hourglass_p;
+ /* Non-zero means prompt with the old GTK file selection dialog. */
+
+ int x_use_old_gtk_file_dialog;
+
/* The background and shape of the mouse pointer, and shape when not
over text or in the modeline. */
***************
*** 5558,5563 ****
--- 5562,5575 ----
Chinese, Japanese, and Korean. */);
Vx_pixel_size_width_font_regexp = Qnil;
+ /* This is not ifdef:ed, so other builds than GTK can customize it. */
+ DEFVAR_BOOL ("x-use-old-gtk-file-dialog", &x_use_old_gtk_file_dialog,
+ doc: /* *Non-nil means prompt with the old GTK file selection dialog.
+ If nil or if the file selection dialog is not available, the new GTK file
+ chooser is used instead. To turn off all file dialogs set the
+ variable `use-file-dialog'. */);
+ x_use_old_gtk_file_dialog = 0;
+
#ifdef USE_X_TOOLKIT
Fprovide (intern ("x-toolkit"), Qnil);
#ifdef USE_MOTIF
***************
*** 5577,5590 ****
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+. */);
{
--- 5589,5594 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/xfns.c [emacs-unicode-2],
Miles Bader <=