Mercurial > emacs
annotate oldXMenu/SetFrz.c @ 68874:8ccdd5aee32d
* gtkutil.c (xg_tool_bar_button_cb): New function.
(xg_tool_bar_callback): Call x_x_to_emacs_modifiers to
store modifiers in event.
(update_frame_tool_bar): Connect button-release-event to
xg_tool_bar_button_cb.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Tue, 14 Feb 2006 10:01:58 +0000 |
parents | e8a3fb527b77 |
children | ce127a46b1ca d04d8ccb3c41 c5406394f567 |
rev | line source |
---|---|
25858 | 1 #include "copyright.h" |
2 | |
3 /* Copyright Massachusetts Institute of Technology 1985 */ | |
68640
e8a3fb527b77
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
65000
diff
changeset
|
4 /* Copyright (C) 2002, 2003, 2004, 2005, |
e8a3fb527b77
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
65000
diff
changeset
|
5 2006 Free Software Foundation, Inc. */ |
25858 | 6 |
7 /* | |
8 * XMenu: MIT Project Athena, X Window system menu package | |
9 * | |
10 * XMenuSetFreeze - Forcibly set the menu freeze mode switch | |
11 * overriding the Xdefaults setting. | |
12 * This is necessary in some situations. | |
13 * | |
14 * Author: Tony Della Fera, DEC | |
15 * January 29, 1986 | |
16 * | |
17 */ | |
18 | |
19 #include "XMenuInt.h" | |
20 | |
21 XMenuSetFreeze(menu, freeze) | |
22 register XMenu *menu; /* Menu object to be modified. */ | |
23 register int freeze; /* Freeze mode? */ | |
24 { | |
25 /* | |
26 * Set the freeze mode switch. | |
27 */ | |
28 menu->freeze = freeze; | |
29 } | |
52401 | 30 |
31 /* arch-tag: 69c5670b-3a46-4c78-8fdb-305936d79772 | |
32 (do not change this comment) */ |