ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/12/07/10:07:19

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=laserlinc-com.20150623.gappssmtp.com; s=20150623;
h=mime-version:from:date:message-id:subject:to:content-type;
bh=v7rlBLCgCGLdSte7L8n4ls6e6jKQoqL85xMdN6OCx18=;
b=VDKu/w9+shEpW7/7kuWGCU3xelBhm1qxJCSZUAowJKA6m53EyDDI2oN/JtgDrVAVhA
EteucFIJEp+VKKplUWh+VfYLPIjXA9UrmHzIWSuVizKh07DdCXh/ljtT6hbLrGe2c3QK
+xkbeZjgcmu9u5/1QjfmDuNyKAUxk7tR7Sy4LMYK2oWoz0PJxDYx/tUMuPvR7RT6b+4t
Pe/30F/2nkqicevPlp3e2t6sN9s47+G3S1zC9AOYKRofDOq6IO77GfXY4V5rAl67gXn0
3B3oPN00dOTKnU4/WozKG/G8qG6B47qkASkT1+jW6y3u9GXXhjGhLGOvlnS/TSzjRSQl
3MFg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to
:content-type;
bh=v7rlBLCgCGLdSte7L8n4ls6e6jKQoqL85xMdN6OCx18=;
b=epKKF2xPzmEa/8hILVQ7dXV6NdEIXDSDIF9zxrbSoFKHIaDmNdsDyNcNV2UP4qPHhV
BOuSa7D3vSj0bdE3zT1KqbaQogGcyDwN18FvDwpqQeFAK25uIzig43TEdLz9oURwQF3E
Uoap/Bg5ox+mxRcEHz/tXliqdHqhP+cVHQmx4XKnkbuIJ7EAwj+yDIM1WDJdnlZCjckp
WYZjqRx220k0Apvm3E5/IW/HQOdXhwInBTvPi+vBsjjBsF2Xl492S2ovtL4TylRZJdbs
CMTkDPArG32uRM4DAJJpaiQ+IKcUj8B1hOseK9HPJ4woWidUmD6OkaHheUpcnX1Cjm9d
C9Ew==
X-Gm-Message-State: ALoCoQkCnQnB/8CPPC+FcrihgAwhQFtSWTOolpyS34WvVI1QIbvw4M7KmkW6lDca/0EnLBsi16hkyMzsCD/v0/9pAr7ZH3l84Q==
X-Received: by 10.50.64.178 with SMTP id p18mr16129992igs.57.1449500822234;
Mon, 07 Dec 2015 07:07:02 -0800 (PST)
MIME-Version: 1.0
From: "Joshua Lansford (joshua DOT lansford AT laserlinc DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Date: Mon, 7 Dec 2015 10:06:42 -0500
Message-ID: <CAGRhJMa2rG-zVWDp7prZmEdFcG5S4V6tRhKBq0fp+nJM7vGu=w@mail.gmail.com>
Subject: [geda-user] o_picture_set_from_file
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com

--047d7bd75c3a9c9af7052650353e
Content-Type: text/plain; charset=UTF-8

Hi guys,
  Trying to fix an annoying bug...  If I have an image in gschem referenced
relatively then if I use undo the image dies.  I figured out it is because
when o_picture_set_from_file gets called from doing the undo the current
working directory is /tmp instead of the directory of the sheet like it is
when the schematic is loaded.  Perhaps this function should not be
dependent on the cwd by intentionally building the pathname out using the
path of the current sheet?
~Joshua

--047d7bd75c3a9c9af7052650353e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:times ne=
w roman,serif">Hi guys,<br></div><div class=3D"gmail_default" style=3D"font=
-family:times new roman,serif">=C2=A0 Trying to fix an annoying bug...=C2=
=A0 If I have an image in gschem referenced relatively then if I use undo t=
he image dies.=C2=A0 I figured out it is because when o_picture_set_from_fi=
le gets called from doing the undo the current working directory is /tmp in=
stead of the directory of the sheet like it is when the schematic is loaded=
.=C2=A0 Perhaps this function should not be dependent on the cwd by intenti=
onally building the pathname out using the path of the current sheet?<br></=
div><div class=3D"gmail_default" style=3D"font-family:times new roman,serif=
">~Joshua<br></div></div>

--047d7bd75c3a9c9af7052650353e--

- Raw text -


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