Opened 14 years ago

Last modified 14 years ago

#2293 closed defect

Can't resume projects by (double) clicking in Gnome — at Initial Version

Reported by: rgs Owned by: walter
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Turtleart Version: Git as of bugdate
Severity: Unspecified Keywords: turtleart gnome
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

Depending on how you have Turtle Art installed in Gnome you might have problems when resuming an existing project:

Traceback (most recent call last):

File "/home/rgs/devel/turtleart/turtleart.py", line 655, in <module>

TurtleMain()

File "/home/rgs/devel/turtleart/turtleart.py", line 204, in init

win.set_icon_from_file(_ICON_SUBPATH)

glib.GError: Failed to open file 'images/turtle.png': No such file or directory

The attached patch makes sure TA is running from the source directory so it doesn't have problems finding relative paths.

Change History (1)

Changed 14 years ago by rgs

move to cur dir before running the main loop

Note: See TracTickets for help on using tickets.