1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 13:10:57 -08:00
Commit graph

28 commits

Author SHA1 Message Date
Glenn Morris
76b6f70759 Add 2009 to copyright years. 2009-01-08 03:15:17 +00:00
Chong Yidong
8510900112 (xg_get_font_name): Insert prototype, 2008-06-10 20:55:35 +00:00
Glenn Morris
b9b1cc1463 Switch to recommended form of GPLv3 permissions notice. 2008-05-15 03:28:14 +00:00
Jan Djärv
fc467bc4d2 (xg_frame_resized): Renamed from xg_resize_widgets. 2008-03-01 14:57:46 +00:00
Glenn Morris
8cabe764e9 Add 2008 to copyright years. 2008-01-08 04:37:27 +00:00
Glenn Morris
684d6f5bcc Switch license to GPLv3 or later. 2007-07-25 05:19:07 +00:00
Glenn Morris
4e6835dbc4 Add 2007 to copyright years. 2007-01-21 04:57:37 +00:00
Jan Djärv
9c6612b923 (xg_menu_item_cb_data_): Remove highlight_id and
unhighlight_id.
2007-01-02 16:50:01 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Jan Djärv
90f2e16b15 * xfns.c (Fx_uses_old_gtk_dialog): New function.
* gtkutil.c (xg_uses_old_file_dialog): New function.
(xg_get_file_name): Use xg_uses_old_file_dialog.

* gtkutil.h: Declare xg_uses_old_file_dialog.
2005-12-23 11:34:13 +00:00
Jan Djärv
5dec432026 * gtkutil.h (xg_set_frame_icon): Declare it. 2005-08-16 19:33:07 +00:00
Jan Djärv
5d91377a3c * gtkutil.h (xg_get_pixbuf_from_pix_and_mask): Declare. 2005-08-13 09:47:57 +00:00
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Jan Djärv
0a4f23f30e * gtkutil.h: Declare use_old_gtk_file_dialog.
* gtkutil.c: Make use_old_gtk_file_dialog non-static.
(xg_initialize): Moved DEFVAR_BOOL for use_old_gtk_file_dialog ...
* xfns.c (syms_of_xfns): ... to here.
2004-11-04 15:05:27 +00:00
Jan Djärv
f9d64bb358 * 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.
2004-11-02 08:21:16 +00:00
Jan Djärv
1ca69aa4d3 * gtkutil.h (xg_frame_cleared): Removed. 2004-10-19 16:39:24 +00:00
Jan Djärv
2bf436c3bb * xmenu.c (digest_single_submenu): Set lname and lkey in widget_value
instead of name and key.
(update_submenu_strings): New function.
(set_frame_menubar): Remove call to inhibit_garbage_collection,
call update_submenu_strings.  Call ENCODE_MENU_STRING for top level
menu names.

* gtkutil.h (_widget_value): Added lname and lkey.
2004-08-30 19:42:53 +00:00
Jan Djärv
810f2256ba Implement multiple display handling for GTK. 2003-11-16 16:05:24 +00:00
Jan Djärv
da18b5acc8 Remove tear off capability for GTK popup menus.
Since the context in Lisp is not present anymore, we don't know
how to invoke the action for a menu item.
2003-11-02 16:47:32 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Jan Djärv
7863d62580 Finally (?) fix flicker in scroll bar. 2003-03-23 00:59:23 +00:00
Jan Djärv
19536747ba gtkutil.h: Removed xg_ignore_next_thumb. 2003-03-18 17:48:45 +00:00
Jan Djärv
9ea0e54d65 gtkutil.h: Add declaration for xg_frame_cleared. 2003-03-14 19:14:54 +00:00
Jan Djärv
257f40f267 Implement Ctrl-Mouse-2 (split vertically) for toolkit scrollbars 2003-03-09 20:43:04 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Jan Djärv
1fcfb86611 Fix input methods for GTK.
Don't right justify GTK help menu.
2003-01-25 16:25:39 +00:00
Jan Djärv
f392e84376 GTK files gtkutil.c and .h 2003-01-19 21:57:12 +00:00