comparison src/ChangeLog @ 57868:c955f6add62a

* fileio.c (Fread_file_name): Pass Qt as fifth parameter to Fx_file_dialog if only directories should be read. * lisp.h: Fx_file_dialog takes 5 parameters. * xfns.c (Fx_file_dialog): Both Motif and GTK version: Add parameter only_dir_p. In Motif version, don't put DEFAULT_FILENAME in filter part of the dialog, just text field part. Do not add DEFAULT_FILENAME to list of files if it isn't there. In GTK version, pass only_dir_p parameter to xg_get_file_name. * macfns.c (Fx_file_dialog): Add parameter only_dir_p. Check only_dir_p instead of comparing prompt to "Dired". When using a save dialog, add option kNavDontConfirmReplacement, change title to "Enter name", change text for save button to "Ok". * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. Check only_dir_p instead of comparing prompt to "Dired". * gtkutil.c (xg_get_file_with_chooser) (xg_get_file_with_selection): New functions, only defined ifdef HAVE_GTK_FILE_CHOOSER_DIALOG_NEW and HAVE_GTK_FILE_SELECTION_NEW respectively. (xg_get_file_name): Add parameter only_dir_p. Call xg_get_file_with_chooser or xg_get_file_with_selection depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog. (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog. * gtkutil.h (xg_get_file_name): Add parameter only_dir_p.
author Jan Djärv <jan.h.d@swipnet.se>
date Tue, 02 Nov 2004 08:21:16 +0000
parents 33a51d4a7f6b
children da430e282e25
comparison
equal deleted inserted replaced
57867:5a547995da89 57868:c955f6add62a
1 2004-11-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 1 2004-11-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * fileio.c (Fread_file_name): Pass Qt as fifth parameter to
4 Fx_file_dialog if only directories should be read.
5
6 * lisp.h: Fx_file_dialog takes 5 parameters.
7
8 * xfns.c (Fx_file_dialog): Both Motif and GTK version: Add
9 parameter only_dir_p.
10 In Motif version, don't put DEFAULT_FILENAME in filter part of the
11 dialog, just text field part. Do not add DEFAULT_FILENAME
12 to list of files if it isn't there.
13 In GTK version, pass only_dir_p parameter to xg_get_file_name.
14
15 * macfns.c (Fx_file_dialog): Add parameter only_dir_p. Check
16 only_dir_p instead of comparing prompt to "Dired". When using
17 a save dialog, add option kNavDontConfirmReplacement, change title
18 to "Enter name", change text for save button to "Ok".
19
20 * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. Check
21 only_dir_p instead of comparing prompt to "Dired".
22
23 * gtkutil.c (xg_get_file_with_chooser)
24 (xg_get_file_with_selection): New functions, only defined ifdef
25 HAVE_GTK_FILE_CHOOSER_DIALOG_NEW and HAVE_GTK_FILE_SELECTION_NEW
26 respectively.
27 (xg_get_file_name): Add parameter only_dir_p.
28 Call xg_get_file_with_chooser or xg_get_file_with_selection
29 depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog.
30 (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog.
31
32 * gtkutil.h (xg_get_file_name): Add parameter only_dir_p.
2 33
3 * config.in: Rebuild (added HAVE_GTK_FILE_*). 34 * config.in: Rebuild (added HAVE_GTK_FILE_*).
4 35
5 2004-11-01 Kim F. Storm <storm@cua.dk> 36 2004-11-01 Kim F. Storm <storm@cua.dk>
6 37