delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2022/09/20/18:44:32

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Wed, 21 Sep 2022 00:24:42 +0200 (CEST)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "Girvin Herr (gherrl2 AT fastmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] Editing the gschem toolbar icons
In-Reply-To: <18c85de7-eba8-6148-4fe9-e633754107dd@fastmail.com>
Message-ID: <d23c015-c272-5ba6-8575-b7d16439335a@grinsen-ohne-katze.de>
References: <18c85de7-eba8-6148-4fe9-e633754107dd AT fastmail DOT com>
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi Girvin,

On Tue, 20 Sep 2022, Girvin Herr (gherrl2 AT fastmail DOT com) [via 
geda-user AT delorie DOT com] wrote:
> I have been finding myself needing to "Save As" a lot lately and I would 
> like to add the Save As icon/tool to the gschem toolbar

the toolbar actions are defined in system-gschemrc.scm under "Definitions 
for the main menu bar, context menu, and toolbar".  In that section, there 
is an explanation on how to change the definitions in your gschemrc.

In short, to append the "Save as" action to the first section of the 
toolbar (before the first divider), add the line

   (append! (list-ref toolbar 0) (list &file-save-as))

to your gschemrc file.  Alternatively, you can copy the toolbar definition 
(lines 1361..1379 of system-gschemrc.scm) to gschemrc and modify it there.

Roland

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019