From cde89115ec877ec70928f907dd8b52ae437c9bf7 Mon Sep 17 00:00:00 2001 From: Bernd Schlapsi Date: Sat, 9 Jan 2010 17:41:04 +0100 Subject: [PATCH] Corrected use of self.config. Replaced with self._config --- src/gpodder/gtkui/interface/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gpodder/gtkui/interface/common.py b/src/gpodder/gtkui/interface/common.py index 8122d55a..f8f7c17b 100644 --- a/src/gpodder/gtkui/interface/common.py +++ b/src/gpodder/gtkui/interface/common.py @@ -208,13 +208,13 @@ class BuilderWidget(GtkBuilderWidget): dlg.set_markup('%s' % (message)) dlg.run() dlg.destroy() - elif self.config.enable_notifications: + elif self._config.enable_notifications: if pynotify is not None: if title is None: title = 'gPodder' notification = pynotify.Notification(title, message, gpodder.icon_file) _notify_at_tray = False - _notify_when = self.config.notifications_attach_to_tray + _notify_when = self._config.notifications_attach_to_tray _notify_attach = notification.attach_to_status_icon if _notify_when in ('minimized','always'): -- 2.11.4.GIT