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


From: Jan Djärv
Subject: [Emacs-diffs] Changes to emacs/src/gtkutil.c
Date: Wed, 28 Dec 2005 10:47:55 +0000

Index: emacs/src/gtkutil.c
diff -u emacs/src/gtkutil.c:1.74 emacs/src/gtkutil.c:1.75
--- emacs/src/gtkutil.c:1.74    Tue Dec 27 13:28:15 2005
+++ emacs/src/gtkutil.c Wed Dec 28 10:47:55 2005
@@ -1285,20 +1285,11 @@
   g_signal_connect (G_OBJECT (wtoggle), "clicked",
                     G_CALLBACK (xg_toggle_visibility_cb), G_OBJECT(filewin));
 
-#ifdef HAVE_GTK_FILE_SELECTION_NEW
-  strcpy (message, "If you find this file dialog inconvinient "
-          "you can customize\n"
-          "x-use-old-gtk-file-dialog to get the old file dialog,\n"
-          "or you can customize use-file-dialog to disable file dialogs,\n"
-          "or just use C-x C-f to open files.");
-#else
-  strcpy (message, "If you find this file dialog inconvinient "
-          "you can customize\n"
-          "use-file-dialog to disable file dialogs,\n"
-          "or just use C-x C-f to open files.");
-#endif
-  if (action == GTK_FILE_CHOOSER_ACTION_OPEN)
-    strcat (message, "\nUse C-l to bring up a text input area.");
+  message[0] = '\0';
+  if (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, customize "
+          "use-file-dialog\nto turn it off, or type C-x C-f to visit files.");
 
   wmessage = gtk_label_new (message);
   gtk_widget_show (wmessage);




reply via email to

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