diff options
| author | Jan D | 2010-09-17 11:54:28 +0200 |
|---|---|---|
| committer | Jan D | 2010-09-17 11:54:28 +0200 |
| commit | e24ad6dd2b3499a367fff0dfd9c9c8a4bdaeb4fd (patch) | |
| tree | 0f61952ad4a03cb224dac145471b1bdc390d01ef | |
| parent | fb0cf781a1e22c3e9198811f57b72a023b865969 (diff) | |
| download | emacs-e24ad6dd2b3499a367fff0dfd9c9c8a4bdaeb4fd.tar.gz emacs-e24ad6dd2b3499a367fff0dfd9c9c8a4bdaeb4fd.zip | |
* keyboard.c (parse_tool_bar_item): For QClabel, set TOOL_BAR_ITEM_LABEL not HELP.
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/keyboard.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 71a1caa38e8..df7202fc243 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-09-17 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * keyboard.c (parse_tool_bar_item): For QClabel, set TOOL_BAR_ITEM_LABEL | ||
| 4 | not HELP. | ||
| 5 | |||
| 1 | 2010-09-17 Stephen Berman <stephen.berman@gmx.net> | 6 | 2010-09-17 Stephen Berman <stephen.berman@gmx.net> |
| 2 | 7 | ||
| 3 | * frame.c (Ftool_bar_pixel_width): New function to expose tool | 8 | * frame.c (Ftool_bar_pixel_width): New function to expose tool |
diff --git a/src/keyboard.c b/src/keyboard.c index 7b1a39403f3..eed031a3c2e 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -8305,7 +8305,7 @@ parse_tool_bar_item (Lisp_Object key, Lisp_Object item) | |||
| 8305 | { | 8305 | { |
| 8306 | const char *bad_label = "!!?GARBLED ITEM?!!"; | 8306 | const char *bad_label = "!!?GARBLED ITEM?!!"; |
| 8307 | /* `:label LABEL-STRING'. */ | 8307 | /* `:label LABEL-STRING'. */ |
| 8308 | PROP (TOOL_BAR_ITEM_HELP) = STRINGP (value) | 8308 | PROP (TOOL_BAR_ITEM_LABEL) = STRINGP (value) |
| 8309 | ? value | 8309 | ? value |
| 8310 | : make_string (bad_label, strlen (bad_label)); | 8310 | : make_string (bad_label, strlen (bad_label)); |
| 8311 | have_label = 1; | 8311 | have_label = 1; |