diff options
Diffstat (limited to 'src/app.c')
-rw-r--r-- | src/app.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1246,6 +1246,21 @@ iBool handleCommand_App(const char *cmd) { | |||
1246 | save_Bookmarks(d->bookmarks, dataDir_App_); | 1246 | save_Bookmarks(d->bookmarks, dataDir_App_); |
1247 | return iFalse; | 1247 | return iFalse; |
1248 | } | 1248 | } |
1249 | else if (equal_Command(cmd, "feeds.refresh")) { | ||
1250 | refresh_Feeds(); | ||
1251 | return iTrue; | ||
1252 | } | ||
1253 | else if (equal_Command(cmd, "feeds.update.started")) { | ||
1254 | setFlags_Widget(findWidget_App("feeds.progress"), hidden_WidgetFlag, iFalse); | ||
1255 | refresh_App(); | ||
1256 | return iFalse; | ||
1257 | } | ||
1258 | else if (equal_Command(cmd, "feeds.update.finished")) { | ||
1259 | setFlags_Widget(findWidget_App("feeds.progress"), hidden_WidgetFlag, iTrue); | ||
1260 | refreshFinished_Feeds(); | ||
1261 | refresh_App(); | ||
1262 | return iFalse; | ||
1263 | } | ||
1249 | else if (equal_Command(cmd, "visited.changed")) { | 1264 | else if (equal_Command(cmd, "visited.changed")) { |
1250 | save_Visited(d->visited, dataDir_App_); | 1265 | save_Visited(d->visited, dataDir_App_); |
1251 | return iFalse; | 1266 | return iFalse; |