mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
"news.notify.size" is not used anymore
This commit is contained in:
parent
09bddcbd46
commit
567c4a4565
@ -155,7 +155,6 @@ static NS_DEFINE_CID(kMsgFolderCacheCID, NS_MSGFOLDERCACHE_CID);
|
||||
#define PREF_4X_NEWS_USE_FCC "news.use_fcc"
|
||||
#define PREF_4X_NEWS_MAX_ARTICLES "news.max_articles"
|
||||
#define PREF_4X_NEWS_NOTIFY_ON "news.notify.on"
|
||||
#define PREF_4X_NEWS_NOTIFY_SIZE "news.notify.size"
|
||||
#define PREF_4X_NEWS_MARK_OLD_READ "news.mark_old_read"
|
||||
|
||||
#define CONVERT_4X_URI(IDENTITY,DEFAULT_FOLDER_NAME,MACRO_GETTER,MACRO_SETTER) \
|
||||
@ -2814,7 +2813,6 @@ nsMsgAccountManager::MigrateOldNntpPrefs(nsIMsgIncomingServer *server, const cha
|
||||
nntpServer = do_QueryInterface(server, &rv);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
MIGRATE_SIMPLE_INT_PREF(PREF_4X_NEWS_NOTIFY_SIZE,nntpServer,SetNotifySize)
|
||||
MIGRATE_SIMPLE_BOOL_PREF(PREF_4X_NEWS_NOTIFY_ON,nntpServer,SetNotifyOn)
|
||||
MIGRATE_SIMPLE_BOOL_PREF(PREF_4X_NEWS_MARK_OLD_READ,nntpServer,SetMarkOldRead)
|
||||
MIGRATE_SIMPLE_INT_PREF(PREF_4X_NEWS_MAX_ARTICLES,nntpServer,SetMaxArticles)
|
||||
|
@ -34,13 +34,10 @@ interface nsINntpIncomingServer : nsISupports {
|
||||
/* ask the user before downloading more than maxArticles? */
|
||||
attribute boolean notifyOn;
|
||||
|
||||
/* is this still used? */
|
||||
attribute long notifySize;
|
||||
|
||||
/* the max articles to download */
|
||||
attribute long maxArticles;
|
||||
|
||||
/* when we don't download all, do we mark the rest read? */
|
||||
/* when we don't download all, do we mark the rest read? */
|
||||
attribute boolean markOldRead;
|
||||
|
||||
/* abbreviate the newsgroup names in the folder pane? */
|
||||
|
@ -61,7 +61,6 @@ nsNntpIncomingServer::~nsNntpIncomingServer()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMPL_SERVERPREF_INT(nsNntpIncomingServer, NotifySize, "notify.size");
|
||||
NS_IMPL_SERVERPREF_BOOL(nsNntpIncomingServer, NotifyOn, "notify.on");
|
||||
NS_IMPL_SERVERPREF_BOOL(nsNntpIncomingServer, MarkOldRead, "mark_old_read");
|
||||
NS_IMPL_SERVERPREF_BOOL(nsNntpIncomingServer, Abbreviate, "abbreviate");
|
||||
|
Loading…
x
Reference in New Issue
Block a user