diff MainWindow.py @ 120:e830fa1cc7a2 backend

re-enabled PreferencesDialog
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sun, 21 Aug 2011 04:04:37 +0200
parents 04a730f9d07d
children 510a5d00e98a
line wrap: on
line diff
--- a/MainWindow.py	Sun Aug 21 03:55:16 2011 +0200
+++ b/MainWindow.py	Sun Aug 21 04:04:37 2011 +0200
@@ -4,7 +4,7 @@
 from FeedEntryItemDelegate import FeedEntryItemDelegate
 from FeedEntryTableModel import FeedEntryTableModel
 from FeedSettings import FeedSettings
-#from PreferencesDialog import PreferencesDialog
+from PreferencesDialog import PreferencesDialog
 from PyQt4.QtCore import QUrl
 from PyQt4.QtGui import QApplication
 from PyQt4.QtGui import QMainWindow
@@ -165,9 +165,8 @@
             self._updateStatusBar(message)
 
     def showPreferences(self):
-        pass
-#        preferences = PreferencesDialog(self.session)
-#        preferences.exec_()
+        preferences = PreferencesDialog(self.backend)
+        preferences.exec_()
 
     def showFeedSettings(self):
         feedSettings = FeedSettings(self.session, self.selectedFeed)