[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-dev] Re: [Bug 1062] New: File, Open to show Examples folder by default
- From: Luke Hart <lukeh@xxxxxxxx>
- Date: Wed, 17 May 2006 16:24:14 +0100
- Subject: [XaraXtreme-dev] Re: [Bug 1062] New: File, Open to show Examples folder by default
Phil Martin wrote:
bugzilla-daemon@xxxxxxxxxxxxxxxx wrote:
http://bugzilla.xara.com/show_bug.cgi?id=1062
Summary: File, Open to show Examples folder by default
Product: XaraLX
Version: 0.4
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P1
Component: Core
AssignedTo: phil@xxxxxxxx
ReportedBy: neil@xxxxxxxx
CC: bugzilla@xxxxxxxxxxxxxx
The first time the user does an open, the folder shown should be
../share/xaralx/Examples. This is relative to the location of the
currently running executable. Luke will advise on how to get hold of
this location in LX.
So can I just bind in "../share/xaralx/Examples" into the exe then or
is there more to it than that? Should I use a function to find the CWD
and append to that?
Phil
We use binreloc to find this information out. You can use the code @
oilfltrs.cpp:352 as an exmaple of how this can be used. For full
documentation please see http://autopackage.org/docs/binreloc/#basic.
Luke