diff options
| author | Chong Yidong <cyd@stupidchicken.com> | 2011-01-01 01:02:36 -0500 |
|---|---|---|
| committer | Chong Yidong <cyd@stupidchicken.com> | 2011-01-01 01:02:36 -0500 |
| commit | 3afff00e6f188170ef5eca34d435e7a0730df3fc (patch) | |
| tree | 7716ac85e8725065a5675df774a5eb8767c41d83 /src/ChangeLog | |
| parent | 8d68c659a6e79745bc1350252751803cecb0e150 (diff) | |
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.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e0201b2ab1a..d03b16a7092 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,16 @@ +2011-01-01 Chong Yidong <cyd@stupidchicken.com> + + * 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. + 2010-12-31 Jan Djärv <jan.h.d@swipnet.se> * nsfns.m (ns_set_name_as_filename): Always use buffer name for |
