# HG changeset patch # User Jan Dj¸«£rv # Date 1135766875 0 # Node ID e1dfc54586537b323a9119b3b1738ea100b376a1 # Parent c1ab9f9a59a7124a22929f2f91d766065b70d2de * gtkutil.c (xg_get_file_with_chooser): Changed message shown in file chooser. diff -r c1ab9f9a59a7 -r e1dfc5458653 src/ChangeLog --- a/src/ChangeLog Wed Dec 28 08:46:05 2005 +0000 +++ b/src/ChangeLog Wed Dec 28 10:47:55 2005 +0000 @@ -1,3 +1,8 @@ +2005-12-28 Jan Dj,Ad(Brv + + * gtkutil.c (xg_get_file_with_chooser): Changed message shown + in file chooser. + 2005-12-27 Richard M. Stallman * lread.c (readevalloop): Set PT and ZV in the proper buffer, diff -r c1ab9f9a59a7 -r e1dfc5458653 src/gtkutil.c --- a/src/gtkutil.c Wed Dec 28 08:46:05 2005 +0000 +++ b/src/gtkutil.c Wed Dec 28 10:47:55 2005 +0000 @@ -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);