emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/gtkutil.c,v


From: Jan Djärv
Subject: [Emacs-diffs] Changes to emacs/src/gtkutil.c,v
Date: Fri, 22 Sep 2006 08:19:55 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Jan Djärv <jhd>        06/09/22 08:19:55

Index: gtkutil.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/gtkutil.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -b -r1.94 -r1.95
--- gtkutil.c   18 Sep 2006 16:47:46 -0000      1.94
+++ gtkutil.c   22 Sep 2006 08:19:55 -0000      1.95
@@ -1382,7 +1382,9 @@
   if (x_gtk_file_dialog_help_text)
     {
       message[0] = '\0';
-      if (action != GTK_FILE_CHOOSER_ACTION_SAVE)
+      /* Gtk+ 2.10 has the file name text entry box integrated in the dialog.
+         Show the C-l help text only for versions < 2.10.  */
+      if (gtk_check_version(2, 10, 0) && action != 
GTK_FILE_CHOOSER_ACTION_SAVE)
         strcat (message, "\nType C-l to display a file name text entry 
box.\n");
       strcat (message, "\nIf you don't like this file selector, use the "
               "corresponding\nkey binding or customize "




reply via email to

[Prev in Thread] Current Thread [Next in Thread]