Mercurial > emacs
view nt/multi-install-info.bat @ 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 | 1d1d5d9bd884 |
children | 376148b31b5e |
line wrap: on
line source
@echo off rem Hack to run install-info with multiple info files on the command rem line on the Windows platform. rem Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 rem Free Software Foundation, Inc. rem This file is part of GNU Emacs. rem GNU Emacs is free software: you can redistribute it and/or modify rem it under the terms of the GNU General Public License as published by rem the Free Software Foundation, either version 3 of the License, or rem (at your option) any later version. rem GNU Emacs is distributed in the hope that it will be useful, rem but WITHOUT ANY WARRANTY; without even the implied warranty of rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the rem GNU General Public License for more details. rem You should have received a copy of the GNU General Public License rem along with GNU Emacs. If not, see http://www.gnu.org/licenses/. rem Usage: rem multi-install-info <switch passed to install-info> FILE1 FILE2 ... rem rem By Peter 'Luna' Runestig <peter@runestig.com> 2003 set INSTALL_INFO=install-info set II_SWITCH=%1=%2 rem Eat the install-info switch: shift :Loop shift if .%1% == . goto EndLoop %INSTALL_INFO% %II_SWITCH% %1 goto Loop :EndLoop goto skipArchTag arch-tag: 4f590862-8ead-497a-a71c-fb4b0e5d50db :skipArchTag