Mercurial > hg > Feedworm
diff FeedSettings.py @ 52:6bc6899f3330
allow changing a feed's title
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 18 May 2010 02:56:02 +0200 |
parents | 6e5219e05625 |
children | d292ab61ed6f |
line wrap: on
line diff
--- a/FeedSettings.py Tue May 18 02:32:33 2010 +0200 +++ b/FeedSettings.py Tue May 18 02:56:02 2010 +0200 @@ -12,6 +12,7 @@ self.initUi() def initUi(self): + self.ui.feedTitle.setText(self.feed.title) self.ui.autoLoadArticle.setChecked(self.feed.auto_load_entry_link) def autoLoadArticleChanged(self, change): @@ -27,3 +28,7 @@ def reject(self): self.session.rollback() QtGui.QDialog.reject(self) + + def editingTitleFinished(self): + title = str(self.ui.feedTitle.text()) + self.feed.title = title