# HG changeset patch # User Dirk Olmes # Date 1274144311 -7200 # Node ID 8cca4585eb33424eca6fb65637baacc9d425e3f1 # Parent 6bc6899f3330f4e6f9b5d682c2c21dca8e5c513e the feed settings menu item starts out disabled and gets enabled once a feed is selected diff -r 6bc6899f3330 -r 8cca4585eb33 MainWindow.py --- a/MainWindow.py Tue May 18 02:56:02 2010 +0200 +++ b/MainWindow.py Tue May 18 02:58:31 2010 +0200 @@ -33,6 +33,9 @@ def feedSelected(self, index): self.selectedFeed = self.allFeeds[index.row()] + + self.ui.actionFeedSettings.setEnabled(True) + self.sortedEntries = self.selectedFeed.entriesSortedByUpdateDate() model = DisplayModel(self, self.sortedEntries, FeedEntry.userPresentableString) self.ui.feedEntryList.setModel(model) diff -r 6bc6899f3330 -r 8cca4585eb33 Ui_MainWindow.ui --- a/Ui_MainWindow.ui Tue May 18 02:56:02 2010 +0200 +++ b/Ui_MainWindow.ui Tue May 18 02:58:31 2010 +0200 @@ -147,7 +147,7 @@ - true + false Settings ...