Mercurial > emacs
annotate lisp/sb-tag-minus.xpm @ 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 | c2a09ac7b7b1 |
children |
rev | line source |
---|---|
29137
b33142291391
Renamed sb-tag-.xpm to sb-tag-minus.xpm
Eric M. Ludlam <zappo@gnu.org>
parents:
diff
changeset
|
1 /* XPM */ |
55471 | 2 static char * sb_tag_minus_xpm[] = { |
3 "20 15 5 1", | |
29137
b33142291391
Renamed sb-tag-.xpm to sb-tag-minus.xpm
Eric M. Ludlam <zappo@gnu.org>
parents:
diff
changeset
|
4 " c None", |
55471 | 5 ". c #B8B8B8", |
29137
b33142291391
Renamed sb-tag-.xpm to sb-tag-minus.xpm
Eric M. Ludlam <zappo@gnu.org>
parents:
diff
changeset
|
6 "+ c #000000", |
b33142291391
Renamed sb-tag-.xpm to sb-tag-minus.xpm
Eric M. Ludlam <zappo@gnu.org>
parents:
diff
changeset
|
7 "@ c #FFF993", |
55471 | 8 "# c #828282", |
29137
b33142291391
Renamed sb-tag-.xpm to sb-tag-minus.xpm
Eric M. Ludlam <zappo@gnu.org>
parents:
diff
changeset
|
9 " ", |
b33142291391
Renamed sb-tag-.xpm to sb-tag-minus.xpm
Eric M. Ludlam <zappo@gnu.org>
parents:
diff
changeset
|
10 " ", |
55471 | 11 " .............. ", |
12 " .++++++++++++++. ", | |
13 " .+@@@@@@@@@@@@@@+#", | |
14 " .+@@@@@@@@@@@@@@@+#", | |
15 ".+@@@@@@@@@@@@@@@@+#", | |
16 ".+@++@@+++++@@@@@@+#", | |
17 ".+@++@@@.....@@@@@+#", | |
18 ".+@@@@@@@@@@@@@@@@+#", | |
19 " #+@@@@@@@@@@@@@@@+#", | |
20 " #+@@@@@@@@@@@@@@+#", | |
21 " #++++++++++++++# ", | |
22 " ############## ", | |
29137
b33142291391
Renamed sb-tag-.xpm to sb-tag-minus.xpm
Eric M. Ludlam <zappo@gnu.org>
parents:
diff
changeset
|
23 " "}; |