Mercurial > emacs
comparison src/ChangeLog @ 112043:dffe14ef6b65
Reduce GTK tool-bar switching delay by avoiding selective show/hide of widgets.
* src/gtkutil.c (xg_get_tool_bar_widgets): Use NULL for a missing
image or label in the container.
(xg_make_tool_item): Replace VERT_ONLY arg with HORIZ, TEXT_IMAGE.
(xg_show_toolbar_item): Function deleted.
(xg_tool_item_stale_p): New function.
(update_frame_tool_bar): Calculate tool-bar style once per call.
Instead of hiding text labels, omit them. Don't use
xg_show_toolbar_item; create new GtkToolItems from scratch if
necessary, instead of trying to re-use them. This avoids an
annoying animation when changing tool-bars.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 01 Jan 2011 01:02:36 -0500 |
parents | 9c611deb66fa |
children | 40af77a50adc |
comparison
equal
deleted
inserted
replaced
112042:c92bc8723d4b | 112043:dffe14ef6b65 |
---|---|
1 2011-01-01 Chong Yidong <cyd@stupidchicken.com> | |
2 | |
3 * gtkutil.c (xg_get_tool_bar_widgets): Use NULL for a missing | |
4 image or label in the container. | |
5 (xg_make_tool_item): Replace VERT_ONLY arg with HORIZ, TEXT_IMAGE. | |
6 (xg_show_toolbar_item): Function deleted. | |
7 (xg_tool_item_stale_p): New function. | |
8 (update_frame_tool_bar): Calculate tool-bar style once per call. | |
9 Instead of hiding text labels, omit them. Don't use | |
10 xg_show_toolbar_item; create new GtkToolItems from scratch if | |
11 necessary, instead of trying to re-use them. This avoids an | |
12 annoying animation when changing tool-bars. | |
13 | |
1 2010-12-31 Jan Djärv <jan.h.d@swipnet.se> | 14 2010-12-31 Jan Djärv <jan.h.d@swipnet.se> |
2 | 15 |
3 * nsfns.m (ns_set_name_as_filename): Always use buffer name for | 16 * nsfns.m (ns_set_name_as_filename): Always use buffer name for |
4 title and buffer filename only for RepresentedFilename. | 17 title and buffer filename only for RepresentedFilename. |
5 Handle bad UTF-8 in buffer name (Bug#7517). | 18 Handle bad UTF-8 in buffer name (Bug#7517). |