MaxTyutyunnikov / gphotoframe

Automatically exported from code.google.com/p/gphotoframe
Other
0 stars 0 forks source link

Move to trash dialog doesn't disappear #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If I click on the trash icon for a displayed photo coming from a local folder, 
I see the move to the trash dialog. If I press "Yes" I get the following 
message in the command line and the dialog doesn't close although the image go 
to trash:

Traceback (most recent call last):
  File "/home/cristian/unstable/gphotoframe/lib/image/actor/trash.py", line 77, in _response_cb
    self.delete_method()
  File "/home/cristian/unstable/gphotoframe/lib/plugins/base.py", line 336, in delete_from_disk
    self.delete_from_catalog()
  File "/home/cristian/unstable/gphotoframe/lib/plugins/base.py", line 339, in delete_from_catalog
    self.photolist.delete_photo(self.filename)
AttributeError: 'NoneType' object has no attribute 'delete_photo'

Regards

Original issue reported on code.google.com by cri.pe...@gmail.com on 21 Dec 2010 at 1:23

GoogleCodeExporter commented 9 years ago
Thanks! I have confirmed this bug.

Original comment by yendo0206 on 21 Dec 2010 at 4:14

GoogleCodeExporter commented 9 years ago
Fixed in revision ea27608a4e.

Original comment by yendo0206 on 21 Dec 2010 at 4:28