Ticket #2293 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Can't resume projects by (double) clicking in Gnome

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

Description (last modified by rgs) (diff)

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.

Attachments

move-to-current-dir-before-start.patch Download (0.5 KB) - added by rgs 3 years ago.
move to cur dir before running the main loop

Change History

Changed 3 years ago by rgs

move to cur dir before running the main loop

Changed 3 years ago by rgs

  • description modified (diff)

Changed 3 years ago by walter

rgs: this looks good. do you want to apply the patch to mainline?

Changed 3 years ago by rgs

  • status changed from new to closed
  • resolution set to fixed

Pushed.

Note: See TracTickets for help on using tickets.