summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2014-04-09 08:15:17 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2014-04-09 08:15:17 +0000
commita713d9e2998e045e77d49e124c5d49d30b7635b2 (patch)
treee1111594d008f886bd319f3f531caaa520fa06af /plugins
parent79b9cfd9d1016335c2004d3cb188d8780ee7fcb9 (diff)
set offline status for all feeds when disable autoupdate (by Mataes)
git-svn-id: http://svn.miranda-ng.org/main/trunk@8896 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/NewsAggregator/Src/Services.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/NewsAggregator/Src/Services.cpp b/plugins/NewsAggregator/Src/Services.cpp
index 9f9079d840..7a1e16790b 100644
--- a/plugins/NewsAggregator/Src/Services.cpp
+++ b/plugins/NewsAggregator/Src/Services.cpp
@@ -254,6 +254,7 @@ void UpdateMenu(BOOL State)
INT_PTR EnableDisable(WPARAM wParam, LPARAM lParam)
{
UpdateMenu(db_get_b(NULL, MODULE, "AutoUpdate", 1));
+ NewsAggrSetStatus(db_get_b(NULL, MODULE, "AutoUpdate", 1) ? ID_STATUS_ONLINE : ID_STATUS_OFFLINE, 0);
return 0;
}