From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: tool bar: C-... and S-... fail in GTK builds Date: Tue, 14 Feb 2006 11:10:50 +0100 Message-ID: <43F1ACAA.7060200@swipnet.se> References: <87zml4aocl.fsf@jurta.org> <871wye18w2.fsf@jurta.org> <87bqxg81a9.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1139914188 25479 80.91.229.2 (14 Feb 2006 10:49:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Feb 2006 10:49:48 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 14 11:49:46 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 1F8xkY-0002Zc-3E for ged-emacs-devel@m.gmane.org; Tue, 14 Feb 2006 11:49:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8xkX-00014c-4o for ged-emacs-devel@m.gmane.org; Tue, 14 Feb 2006 05:49:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F8x9t-0006kS-9u for emacs-devel@gnu.org; Tue, 14 Feb 2006 05:11:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F8x9l-0006ZA-Cs for emacs-devel@gnu.org; Tue, 14 Feb 2006 05:11:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8x92-0005yF-JZ for emacs-devel@gnu.org; Tue, 14 Feb 2006 05:10:54 -0500 Original-Received: from [213.50.74.197] (helo=smtp.operax.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1F8xDg-0001lP-JI for emacs-devel@gnu.org; Tue, 14 Feb 2006 05:15:40 -0500 Original-Received: (qmail 48714 invoked by uid 0); 14 Feb 2006 10:10:50 -0000 Original-Received: from dentan.operax.com (HELO ?192.168.1.48?) (192.168.1.48) by treo.operax.com with SMTP; 14 Feb 2006 10:10:50 -0000 User-Agent: Thunderbird 1.5 (X11/20051201) Original-To: Juri Linkov In-Reply-To: <87bqxg81a9.fsf@jurta.org> 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:50520 Archived-At: Juri Linkov wrote: >>> (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. Jan D.