Mercurial > hg > Feedworm
view backend/AbstractPreferences.py @ 258:4ca1fac32dde
Pull the constant of days to keep feed entries into the abstract class
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 12 Mar 2019 02:39:18 +0100 |
parents | f79be01821c4 |
children |
line wrap: on
line source
# -*- coding: utf-8 -*- class AbstractPreferences(object): DAYS_TO_KEEP_FEED_ENTRIES = "daysToKeepFeedEntries" HIDE_READ_FEED_ENTRIES = "hideReadFeedEntries" PROXY_HOST = "proxyHost" SHOW_ONLY_UNREAD_FEEDS = "showOnlyUnreadFeeds" START_MAXIMIZED = "startMaximized" USE_PROXY = "useProxy" def isProxyConfigured(self): return self.proxyHost() is not None