delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2022/09/21/15:48:27

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
cc:content-transfer-encoding:content-type:date:date:from:from
:in-reply-to:in-reply-to:message-id:mime-version:references
:reply-to:sender:subject:subject:to:to; s=fm2; t=1663788440; x=
1663874840; bh=U5j9Dywsyd7eiOEwdwzsQomXxeTp7CxpIgXZYagjJIE=; b=M
b+1K/i+KOzn2pmG+0Hcke7peDQIVIJvMZgD+F+OZkcSomrYGh1mCP1xDE7/zRWet
1Y1ISjYMlGb6lJssMwX0EtBf4oCwxZeFDJ1s9+DpjeBwgV/NIf2RlxFc8kVgVuT2
OVoRfGl8UeAvn4HipZkmDpOnehVD6yEXz22LdQwQsAqlAPtziI9LgYuSoG46humu
1nMD19qicTG++vNXO3QWe0cOqfQK4vrrR8iq5QEQsCPbdVtwFrPoHI0p+nisWSM7
A+vV/1+E+Lzgm8NdBkiuaVOxPGeSV5pKMQTYeU20P3CpWilYRbEl77RqS325lobR
Km1Rt1JWGp8myX/yMDHmA==
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:content-transfer-encoding:content-type
:date:date:feedback-id:feedback-id:from:from:in-reply-to
:in-reply-to:message-id:mime-version:references:reply-to:sender
:subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender
:x-me-sender:x-sasl-enc; s=fm2; t=1663788440; x=1663874840; bh=U
5j9Dywsyd7eiOEwdwzsQomXxeTp7CxpIgXZYagjJIE=; b=RZLE40ZDmyV2aCLxs
wzPF1sgwRylJB+JHjeAEuMwU7D1J2L50X2oxrb1OHP4oe3qiVX78oF9PMgbqy0F2
nk0ol4BpL8kP3/mzNMH7nFKo8faNKkP0XH3X0JN53uTbm3zO5KxW08INSZ7mDsUu
HPCKUc8/Qn3aN3v2YlS3GZwGgNR3I6I9E0AjthpoM9CQCSuVl8TAluw5OVTLJ1bf
Qu198wLttoDQft7kbuKKyFVKukqhaIu7IVhYkvb1pJgCitGa2/TFIhG2hxpTb2dr
FL4Fu+CRkEchsWH3hHEwSCbs/MSqFZfCFVA13vALeg/hm3eFgyEMNCEsuycABaQP
TxEXA==
X-ME-Sender: <xms:l2UrY86HGAVOAeUSvPKEnupRaZYei4_WIqSaU1MVLKzcKjKws5Ht_w>
<xme:l2UrY94CU1MaNAocXIyrlb6dB5jFbGi-vF9uMy7Qt4h_F70Ll6H5CUHryEzluZOdy
9VwqiHICiVxpS6blw>
X-ME-Received: <xmr:l2UrY7cE9C6TQFWwOios8H2n9X-R2-wN6u_3FjNgA5wQd6MJoFJ2pJguEKZ7uVj7zDWY7Kz52Hzw0gTaQxEzgcE_RjU08i4z07B9vXT5T3cvaJysGo22VVaDdQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefuddgudefkecutefuodetggdotefrod
ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesth
ekredttdefjeenucfhrhhomhepifhirhhvihhnucfjvghrrhcuoehghhgvrhhrlhdvsehf
rghsthhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepveefudetgffgleetgfeuie
ejleeugefhheelieekffevgeffueeuieffffehtdevnecuvehluhhsthgvrhfuihiivgep
tdenucfrrghrrghmpehmrghilhhfrhhomhepghhhvghrrhhlvdesfhgrshhtmhgrihhlrd
gtohhm
X-ME-Proxy: <xmx:l2UrYxLYuYlw4gJIFrTRCwJrHwFlVAqhdpLIi_cuKpsuXFjaLBfHBA>
<xmx:l2UrYwLwHKX4bxREspPbrP4trnqPf3K01kqHEiFWJ3rpI9ycGvJhrw>
<xmx:l2UrYyyZssv3-b-ZFjtLP9kV9ohKtkwTOcy06Yd0cfXvB_xLXm5W0Q>
<xmx:mGUrY3lzVQiJyVQhbju0F6rZIa5d4y7hVqpwZc0nQI-9f8Oxs9Aagw>
Feedback-ID: iee494631:Fastmail
Subject: Re: [geda-user] Editing the gschem toolbar icons
To: geda-user AT delorie DOT com
References: <18c85de7-eba8-6148-4fe9-e633754107dd AT fastmail DOT com>
<d23c015-c272-5ba6-8575-b7d16439335a AT grinsen-ohne-katze DOT de>
From: "Girvin Herr (gherrl2 AT fastmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Message-ID: <be8c5263-8fb8-099c-77bb-4c4868011911@fastmail.com>
Date: Wed, 21 Sep 2022 12:26:55 -0700
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101
Thunderbird/68.12.0
MIME-Version: 1.0
In-Reply-To: <d23c015-c272-5ba6-8575-b7d16439335a@grinsen-ohne-katze.de>
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

Greetings,

I used Roland's procedure to add a "save-as" icon in the toolbar and it 
worked fine. Rather than edit the system-gschemrc file, I chose to copy 
the toolbar section from it to my local gschemrc file in 
~/.gEDA/gschemrc instead. This keeps the system file pristine and 
prevents updates from overwriting it, as well as keeping the default 
gschem behavior for other users.

Thanks Roland.

Girvin


On 9/20/22 3:24 PM, Roland Lutz wrote:
> 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