From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: tool bar: C-... and S-... fail in GTK builds Date: Tue, 14 Feb 2006 19:43:14 +0200 Organization: JURTA Message-ID: <87acct7u0e.fsf@jurta.org> References: <87zml4aocl.fsf@jurta.org> <871wye18w2.fsf@jurta.org> <87bqxg81a9.fsf@jurta.org> <43F1ACAA.7060200@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139953134 25701 80.91.229.2 (14 Feb 2006 21:38:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Feb 2006 21:38:54 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 14 22:38:53 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F97sQ-0006L6-D9 for ged-emacs-devel@m.gmane.org; Tue, 14 Feb 2006 22:38:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F97sP-0007b2-Mf for ged-emacs-devel@m.gmane.org; Tue, 14 Feb 2006 16:38:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F94eb-00054s-R8 for emacs-devel@gnu.org; Tue, 14 Feb 2006 13:11:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F94bm-0003J1-0H for emacs-devel@gnu.org; Tue, 14 Feb 2006 13:09:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F94La-0006Gi-Ga for emacs-devel@gnu.org; Tue, 14 Feb 2006 12:52:20 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F94QH-0007Wn-QQ for emacs-devel@gnu.org; Tue, 14 Feb 2006 12:57:10 -0500 Original-Received: from mail.neti.ee (80-235-45-12-dsl.mus.estpak.ee [80.235.45.12]) by Relayhost2.neti.ee (Postfix) with ESMTP id 1BF5116BD; Tue, 14 Feb 2006 19:52:13 +0200 (EET) Original-To: "Jan D." In-Reply-To: <43F1ACAA.7060200@swipnet.se> (Jan D.'s message of "Tue, 14 Feb 2006 11:10:50 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50535 Archived-At: >>>> (define-key tool-bar-map [S-help] 'info) >>> Did you try with a GTK build? It fails with GTK for me, but it works >>> with an X toolkit build: >> Yes, it failed for me with a GTK build, and now I've verified that >> it works with a non-toolkit build. So there is a bug in GTK builds. > > I've fixed it now. The modifiers are not available for the callback that > GTK invokes when a button is clicked, so previously I just set the > modifiers to zero. I didn't realize there was a use for them. Thanks! Could you see how hard would be to implement mouse-2 and mouse-3 clicking on a tool bar item? Is the main obstacle only in the format of the menu keymap specification? -- Juri Linkov http://www.jurta.org/emacs/