https://bugs.gpodder.org/show_bug.cgi?id=797

           Summary: Accessing self.config by show_message
           Product: gPodder
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: low
         Component: Application
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The patch included in bug 777 resulted in a new error:

Traceback (most recent call last):
  File "/home/mcs/src/gpodder/src/gpodder/gui.py", line 2264, in
update_feed_cache_finish_callback
    self.show_message(title, _('New episodes available'),
widget=self.labelDownloads)
  File "/home/mcs/src/gpodder/src/gpodder/gtkui/interface/common.py", line 213,
in show_message
    elif self._config.enable_notifications:
AttributeError: 'gPodder' object has no attribute '_config'

Not quiet sure about correct solution for this, but it could be workarounded by
checking hasattr(self,'_config') and only then using _config reference , since
main window is there most of the time.

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to