From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18155: 24.3.92; Honor toolBar resource *before* showing frame Date: Thu, 31 Jul 2014 15:08:44 +0300 Message-ID: <83k36tspbn.fsf@gnu.org> References: <86mwbq4h4t.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> <83vbqeruzy.fsf@gnu.org> <86a97qf6nz.fsf@gmail.com> <83silirs58.fsf@gnu.org> <53D9E8C1.7080803@swipnet.se> <83r412roig.fsf@gnu.org> <89A7C4A5-C1F9-491E-81B9-D6F5BA4A0DA4@swipnet.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1406808567 4880 80.91.229.3 (31 Jul 2014 12:09:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jul 2014 12:09:27 +0000 (UTC) Cc: carlosjosepita@gmail.com, 18155@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 31 14:09:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XCpAa-0005xh-MH for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Jul 2014 14:09:16 +0200 Original-Received: from localhost ([::1]:56021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCpAZ-0005sq-V1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Jul 2014 08:09:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCpAS-0005s3-Hb for bug-gnu-emacs@gnu.org; Thu, 31 Jul 2014 08:09:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCpAM-0005nj-Ju for bug-gnu-emacs@gnu.org; Thu, 31 Jul 2014 08:09:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCpAM-0005nf-GR for bug-gnu-emacs@gnu.org; Thu, 31 Jul 2014 08:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XCpAL-0002V6-Tq for bug-gnu-emacs@gnu.org; Thu, 31 Jul 2014 08:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Jul 2014 12:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18155 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18155-submit@debbugs.gnu.org id=B18155.14068085149577 (code B ref 18155); Thu, 31 Jul 2014 12:09:01 +0000 Original-Received: (at 18155) by debbugs.gnu.org; 31 Jul 2014 12:08:34 +0000 Original-Received: from localhost ([127.0.0.1]:52661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XCp9t-0002UM-Gg for submit@debbugs.gnu.org; Thu, 31 Jul 2014 08:08:33 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:59990) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XCp9p-0002Tw-Ix for 18155@debbugs.gnu.org; Thu, 31 Jul 2014 08:08:31 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N9K00K00S3TMW00@a-mtaout20.012.net.il> for 18155@debbugs.gnu.org; Thu, 31 Jul 2014 15:08:22 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9K00KVYSDY5Y60@a-mtaout20.012.net.il>; Thu, 31 Jul 2014 15:08:22 +0300 (IDT) In-reply-to: <89A7C4A5-C1F9-491E-81B9-D6F5BA4A0DA4@swipnet.se> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:92003 Archived-At: > Cc: "carlosjosepita@gmail.com" , > "18155@debbugs.gnu.org" <18155@debbugs.gnu.org> > From: Jan Djärv > Date: Thu, 31 Jul 2014 13:29:23 +0200 > > > Thanks. So I was mistaken: this does not depend on the toolkit. In > > that case, I guess we could change that to work more like the menu > > bar, which (AFAIR) is shown on the initial frame. > > When I looked at this, the tool bar items where not initialised at frame creation. So there where no items to put there even if we did show the toolbar. For Gtk it will show a bar a few pixels high. It is hard to figure out how high an item will be later on as this depends on the size of the image, padding and so on. Yes, of course. However, tool-bar buttons are (by default) created from certain menu-bar items. And since (AFAIR) we do show the menu bar when the frame is created, we could at the same time compute and display the tool bar.