From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miguel Frasson Newsgroups: gmane.emacs.sources,gmane.emacs.devel Subject: Re: pop-up tool-bar Date: 07 Oct 2004 13:33:28 +0200 Sender: gnu-emacs-sources-bounces+gnu-gnu-emacs-sources=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097153472 2957 80.91.229.6 (7 Oct 2004 12:51:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Oct 2004 12:51:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: gnu-emacs-sources-bounces+gnu-gnu-emacs-sources=m.gmane.org@gnu.org Thu Oct 07 14:50:52 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CFXjP-0005Je-00 for ; Thu, 07 Oct 2004 14:50:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CFXq9-0007ME-EI for gnu-gnu-emacs-sources@m.gmane.org; Thu, 07 Oct 2004 08:57:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CFXq2-0007Lx-VP for gnu-emacs-sources@gnu.org; Thu, 07 Oct 2004 08:57:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CFXq2-0007Ll-Ha for gnu-emacs-sources@gnu.org; Thu, 07 Oct 2004 08:57:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CFXq2-0007Li-DK for gnu-emacs-sources@gnu.org; Thu, 07 Oct 2004 08:57:42 -0400 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFXj4-0008HF-9k for gnu-emacs-sources@gnu.org; Thu, 07 Oct 2004 08:50:30 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CFXj2-0001r9-00 for ; Thu, 07 Oct 2004 14:50:28 +0200 Original-Received: from 84e5e603.math.leidenuniv.nl ([132.229.230.3]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Oct 2004 14:50:28 +0200 Original-Received: from frasson by 84e5e603.math.leidenuniv.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Oct 2004 14:50:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: gnu-emacs-sources@gnu.org Original-Lines: 32 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 84e5e603.math.leidenuniv.nl User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-BeenThere: gnu-emacs-sources@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNU Emacs source code postings and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gnu-emacs-sources-bounces+gnu-gnu-emacs-sources=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.sources:999 gmane.emacs.devel:28029 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28029 "Drew Adams" writes: > This code adds a minor mode, `tool-bar-here-mode', which is the same as > `tool-bar-mode', except that it affects only the selected frame. > > It also adds a "button" named "Tool Bar" to the far right of the > menu-bar whenever the tool-bar is not visible (both `tool-bar-here-mode' > and `tool-bar-mode' are turned off). You can click the button to pop up > the tool-bar on the selected frame for the execution of a single command > (typically a tool-bar button click). The Tool Bar button is absent > whenever the tool-bar is visible, and vice versa. Hi When I use the tool-bar-here-mode, and I show the toolbar clicking in the menu item "Tool Bar"[1] , and then if I click in the window, the mouse-down event is read, unactivating the toolbar. The window size changes, and the mouse-up event is in a different position, causing a involuntier selection. Could the toolbar deactivation be postponed to avoid this? Maybe, just disable the button could give a better feedback (that this mechanism is on) [1] It could be "ToolBar" because maybe it is not nice to have spaces in top menu itens (top menu itens are separated by space). Miguel Frasson. -- Miguel Vinicius Santini Frasson http://www.math.leidenuniv.nl/~frasson