From c0e8f919bcd12eae13e02a6ee779ce45bc07b925 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Thu, 7 Nov 2024 10:21:51 +0100 Subject: [PATCH] fixed #970 --- localization/rssguard_en.ts | 933 ++++++++++--------- src/librssguard/gui/dialogs/formmain.cpp | 11 +- src/librssguard/gui/dialogs/formmain.ui | 13 +- src/librssguard/miscellaneous/feedreader.cpp | 25 +- src/librssguard/miscellaneous/feedreader.h | 4 + src/librssguard/miscellaneous/settings.cpp | 7 +- src/librssguard/miscellaneous/settings.h | 3 + src/rssguard/main.cpp | 1 + 8 files changed, 541 insertions(+), 456 deletions(-) diff --git a/localization/rssguard_en.ts b/localization/rssguard_en.ts index 7e86fc662..462e4a36c 100644 --- a/localization/rssguard_en.ts +++ b/localization/rssguard_en.ts @@ -4,12 +4,12 @@ AccountCheckModel - + (category) - + (feed) @@ -180,79 +180,79 @@ Error: %1 Application - + Application is already running. Application is already running - + Output directory is not writable. Output directory is not writable - + Settings file not copied to output directory successfully. Settings file not copied to output directory successfully. - + Database restoration was not initiated. Make sure that output directory is writable. Database restoration was not initiated. Make sure that output directory is writable. - + Settings restoration was not initiated. Make sure that output directory is writable. Settings restoration was not initiated. Make sure that output directory is writable. - + Cannot add feed Cannot add feed - + Feed cannot be added because there is no active account which can add feeds. - + Node.js - + Packages were NOT updated because of error: %2. Affected packages: %1 - + These packages were installed/updated: %1 - + Unread articles fetched - + Go to changelog - + AdBlock needs to be configured - + Welcome - + Welcome to %1. Please, check NEW stuff included in this @@ -260,12 +260,12 @@ version by clicking this popup notification. - + AdBlock is not configured properly. Go to "Settings" -> "Node.js" and check if your Node.js is properly configured. - + Already running @@ -1014,12 +1014,22 @@ Item ID: %5 FeedReader - + + Feed fetching is paused + + + + + Automatic feed fetching based on time interval is currently paused. + + + + Starting auto-download of some feeds' articles - + I will auto-download new articles for %n feed(s). @@ -1027,12 +1037,12 @@ Item ID: %5 - + Cannot fetch articles at this point - + You cannot fetch new articles now because another critical operation is ongoing. @@ -1209,17 +1219,17 @@ Item ID: %5 FeedsImportExportModel - + OPML document contains errors - + this is likely not OPML document - + Category Category @@ -1291,50 +1301,50 @@ Item ID: %5 FeedsView - + Cannot edit item Cannot edit item - + Cannot delete item Cannot delete item - + Context menu for empty space Context menu for empty space - + Selected item cannot be edited because another critical operation is ongoing. Selected item cannot be edited because another critical operation is ongoing. - + Selected item cannot be deleted because another critical operation is ongoing. Selected item cannot be deleted because another critical operation is ongoing. - - + + Context menu for categories Context menu for categories - - - + + + Are you sure? Are you sure? - + Context menu for other items Context menu for other items - + Context menu for regex query @@ -1349,61 +1359,61 @@ Item ID: %5 Selected account does not support adding of new categories. - - + + Do you really want to clean all articles from selected items? - - - - + + + + Cannot edit items - + Selected items cannot be edited. This is not supported (yet). - + %1 does not support batch editing of multiple accounts. - + %1 does not support batch editing of items from multiple accounts. - + %1 does not support batch editing of items of varying types. - + Cannot edit some items - + Some of selected items cannot be edited. Proceeding to edit the rest. - + Some items won't be deleted - + Some selected items will not be deleted, because they cannot be deleted. - + Deleting %n items @@ -1411,7 +1421,7 @@ Item ID: %5 - + You are about to completely delete %n items. @@ -1419,22 +1429,22 @@ Item ID: %5 - + Context menu for recycle bins - + Context menu for accounts - + Context menu for label - + Context menu for important articles @@ -1925,7 +1935,7 @@ QtWebEngine cache folder -> "%7" - Parent folder + Parent category @@ -2093,7 +2103,7 @@ QtWebEngine cache folder -> "%7" - Target parent folder + Target parent category @@ -2356,757 +2366,763 @@ QtWebEngine cache folder -> "%7" No recycle bin - + Main menu Main menu - + Open main menu - + Open &main menu - + &File - + &Help - + &View - + Show/hide - + &Tools - + F&eeds - + &Add item - + &Move - - + + Art&icles - - + + &Recycle bin(s) - - + + &Accounts - - + + &Web browser && tabs - - + + &Quit - - + + Quit the application. - - + + &Settings - - + + Display settings of the application. - - + + &About application - - + + Displays extra info about this application. - - + + &Fullscreen - - + + Switch fullscreen mode. - - + + &Fetch all - - + + Fetch all feeds - - + + Fetch &selected - - + + Fetch selected feeds - - + + Mark articles &read - - + + Mark selected articles read - - + + Mark articles &unread - - + + Mark selected articles unread - - + + Switch &importance - - + + Switch importance of selected articles - - + + Mark all messages (without message filters) from selected items as read. - - + + Mark all messages (without message filters) from selected items as unread. - - + + &Delete articles - - + + &Edit selected items - - + + &Delete selected items - - + + Mark selected items &read - - + + Mark selected items &unread - - + + &Clean selected items - - + + Deletes all messages from selected items. - - + + Open in &external browser - - + + Open selected articles in external browser - - + + Open in &internal browser - - + + Open selected articles in internal browser - - + + No actions available - - + + No actions are available right now. - - + + &Mark all read - - + + Marks all messages in all items read. This does not take message filters into account. - - + + Switch main window visibility - - + + Hides main window if it is visible and shows it if it is hidden. - - + + &Feed list - - + + Hides or shows the list of feeds/categories. - - + + &Clean all - - + + Deletes all messages from all items. - - + + &Next item - - + + &Previous item - - + + &Next article - - + + &Previous article - - + + Check for &updates - - + + Check if new update for the application is available for download. - - + + &Main menu - - + + Hides or displays the main menu. - - + + Report a &bug... - - + + &Toolbars - - + + Switch visibility of main toolbars. - - + + &List headers - - + + &Donate... - - + + Display &documentation - - + + &Restart - - + + &Restore settings - - + + &Backup settings - - + + Switch layout - - + + &Downloads - - + + Send via e-mail - - + + Send selected articles via e-mail - - + + &Cleanup database - - + + Show unread items only - - + + &Expand/collapse selected item - - + + &Add account - - + + &Restore articles - - + + &Restore all recycle bins - - + + &Empty all recycle bins - - + + Next &unread article - - + + Status bar - - + + &Edit selected account - - + + &Delete selected account - + - + Add new category Add new category - - + + Stop ongoing fetching - - + + New browser tab - - + + Close all tabs - - + + Close all tabs except current - - + + Go to &next tab - - + + Go to &previous tab - - + + &Enable article preview - - + + &Copy URL of selected item - - + + Article &filters - - + + &Show tree expanders - - + + Fetch feeds with &custom auto-download policy - - + + Alternate row colors in lists - - + + Automatically &expand item when selected - - + + Message viewer toolbars - - + + Expand/collapse selected item &recursively - - + + Close &current tab - - + + &Copy URLs of selected articles - - + + Open in internal browser (no new tab) - - + + &Sort alphabetically - - + + Move &up - - + + Move to &top - - + + Move &down - - + + Move to &bottom - - + + Display application &log - - + + Focus feeds search box - - + + Focus articles search box - - + + Scroll &up browser - - + + Scroll &down browser - - + + Rearrange &subcategories alphabetically - - + + Rearrange &feeds alphabetically - - + + Cleanup web cac&he - - + + You must add new account first - - + + You must add new account first. - - + + Edit &child feeds - - + + Edit child feeds (&recursive) - - + + Play in &media player - + + + &Pause automatic feed fetching + + + + - + Add new feed Add new feed @@ -3116,12 +3132,12 @@ QtWebEngine cache folder -> "%7" No actions possible - + Cannot cleanup database Cannot cleanup database - + Cannot cleanup database, because another critical action is running. Cannot cleanup database, because another critical action is running. @@ -3540,17 +3556,22 @@ You have to restart manually. FormStandardFeedDetails - + General General - - Network + + HTTP headers - + + Auth + + + + Experimental @@ -3770,7 +3791,7 @@ You have to restart manually. - Network + Auth @@ -4428,7 +4449,7 @@ Login tokens expiration: %2 - Parent folder + Parent category @@ -4606,6 +4627,20 @@ Login tokens expiration: %2 + + HttpHeadersDetails + + + + Form + + + + + Enter each key/value HTTP header pair on separate line. Note that all spaces are significant and that header names are case-sensitive. Also, make sure to separate key from value with '=', like the example below: + + + IOFactory @@ -5667,12 +5702,12 @@ Login tokens expiration: %2 MessagesView - + Problem with starting external e-mail client Problem with starting external e-mail client - + External e-mail client could not be started. External e-mail client could not be started. @@ -5682,22 +5717,22 @@ Login tokens expiration: %2 - + No URL - + Article cannot be played in media player as it has no URL - + Cannot run external tool - + External tool '%1' could not be started. @@ -6182,42 +6217,42 @@ Feedly is a secure space where you can privately organize and research the topic - + Fetching articles right now - + Login data refreshed - + New %1 version is available - + Miscellaneous events - + Node.js - package(s) updated - + Node.js - package(s) failed to update - + Unknown event - + New (unread) articles fetched @@ -6244,7 +6279,7 @@ List of supported readers: - + Login failed @@ -6329,7 +6364,7 @@ List of supported readers: - + @@ -6337,7 +6372,7 @@ List of supported readers: - + not an ATOM feed @@ -7381,7 +7416,7 @@ Authors of this application are NOT responsible for lost data. SettingsFeedsMessages - + Select new font @@ -7429,80 +7464,80 @@ Authors of this application are NOT responsible for lost data. - + PC restart needed - + Your PC needs to be restarted to make some of enabled features fully working. - + Feed fetching - + Fetch all articles on startup with initial delay of - + Auto-fetch articles for all feeds every - + Only auto-fetch articles if application is unfocused - + Feed connection timeout - + Connection timeout is time interval which is reserved for downloading new messages for the feed. If this time interval elapses, then download process is aborted. - + ms - + Support very fast auto-fetching intervals (under 10 seconds) - + Feeds list - - + + Row height - + Feed list font @@ -7510,9 +7545,9 @@ Authors of this application are NOT responsible for lost data. - - - + + + Font preview @@ -7520,171 +7555,177 @@ Authors of this application are NOT responsible for lost data. - - - + + + &Change font - + Article count format - + Hide article counts if there are no unread articles - + Allow only basic keyboard shortcuts for feed/article list - + Display tooltips for feeds and articles - + Update feed list during feed fetching - + Articles - + Remove all read articles from all feeds on application exit - + Ignore changes in article body when new articles are being fetched - + Internal article viewer - + Limit height of all pictures - + Use legacy article formatting - + Unread article icon type - + Use custom date/time format for dates-only - + Upon article selection, mark as read + + + + Switch article list to RTL layout if all selected feeds are RTL + + - + Bring application window to front once article is opened in external web browser - + Article browser font - + Fixup date/time of articles which are in the future - + Display attachments directly in article - + Keep article viewer always visible - + Articles list - + Keep article selection in the middle of the article list viewport - + Enable multiline items - + Top/bottom row padding - + Use custom date/time format - + Custom date/time format for today's articles - + Article list font - + Show relative time for articles not older than @@ -8291,48 +8332,54 @@ Also, relaunch "Settings" dialog after you install Node.js. SingleNotificationEditor - + Select sound file - + WAV files (*.wav);;MP3 files (*.mp3) - + Balloon notification - - + + + Play sound + + + + + Sound - - + + Full path to your WAV sound file - - + + &Browse - - + + &Play - - + + Volume @@ -8479,57 +8526,57 @@ Also, relaunch "Settings" dialog after you install Node.js. StandardFeed - + yes - + no - + Script - + Local file - + Built-in web browser with JavaScript support - + Unknown - + Cannot save data for feed: %1 - + this source type cannot be used on 'lite' %1 build - + Cannot move feed, detailed information was logged via debug log. - + Cannot save feed data - + Auto-update status: %1 Active message filters: %2 Status: %3 @@ -8539,7 +8586,7 @@ Item ID: %5 - + Encoding: %1 Type: %2 Post-processing script: %3 @@ -8547,12 +8594,12 @@ Use raw XML saving: %4 - + feed format not recognized - + Cannot move feed @@ -8606,122 +8653,122 @@ Use raw XML saving: %4 - + Icon fetched successfully. - + Icon metadata fetched. - - - + + + No icon fetched. - + All metadata fetched successfully. - + Feed and icon metadata fetched. - - - + + + No metadata fetched. - + Feed name is ok. Feed name is ok. - + Feed name is too short. Feed name is too short. - + Description is empty. Description is empty. - + The description is ok. The description is ok. - + The URL is ok. The URL is ok. - + The URL does not meet standard pattern. Does your URL start with "http://" or "https://" prefix. - + The URL is empty. The URL is empty. - + Source is ok. - + File exists. - + File does not exist. - + Select icon file for the feed - + Images (%1) - + Select icon Select icon - + Cancel Cancel - + Look in: Label for field with icon file name textbox for selection dialog. Look in: - + Icon name: Icon name: - + Icon type: Icon type: @@ -8746,32 +8793,32 @@ Use raw XML saving: %4 - + The source is ok. - + Command is ok. - - + + Script failed: %1 - - + + Network error: %1 - - - - + + + + Error: %1 Error: %1 @@ -8794,7 +8841,7 @@ Also, you can post-process generated feed data with yet another script if you wi - Parent folder + Parent category @@ -9051,17 +9098,17 @@ Unread news: %2 TextBrowserViewer - + Enable external resources - + Download - + image @@ -9462,7 +9509,7 @@ Unread news: %2 - Parent folder + Parent category diff --git a/src/librssguard/gui/dialogs/formmain.cpp b/src/librssguard/gui/dialogs/formmain.cpp index 545e5e03a..67885d305 100644 --- a/src/librssguard/gui/dialogs/formmain.cpp +++ b/src/librssguard/gui/dialogs/formmain.cpp @@ -53,8 +53,7 @@ FormMain::FormMain(QWidget* parent, Qt::WindowFlags f) : QMainWindow(parent, f), m_ui(new Ui::FormMain), m_trayMenu(nullptr), m_statusBar(nullptr) { - qDebugNN << LOGSEC_GUI - << "Creating main application form in thread:" << QUOTE_W_SPACE_DOT(getThreadID()); + qDebugNN << LOGSEC_GUI << "Creating main application form in thread:" << QUOTE_W_SPACE_DOT(getThreadID()); // setAttribute(Qt::WA_WindowPropagation, true); m_ui->setupUi(this); qApp->setMainForm(this); @@ -190,6 +189,7 @@ QList FormMain::allActions() const { actions << m_ui->m_actionPlaySelectedArticlesInMediaPlayer; actions << m_ui->m_actionOpenSelectedMessagesInternallyNoTab; actions << m_ui->m_actionAlternateColorsInLists; + actions << m_ui->m_actionPauseFeedFetching; actions << m_ui->m_actionMessagePreviewEnabled; actions << m_ui->m_actionMarkAllItemsRead; actions << m_ui->m_actionMarkSelectedItemsAsRead; @@ -598,6 +598,8 @@ void FormMain::setupIcons() { // Feeds/messages. m_ui->m_menuAddItem->setIcon(icon_theme_factory->fromTheme(QSL("list-add"))); m_ui->m_actionStopRunningItemsUpdate->setIcon(icon_theme_factory->fromTheme(QSL("process-stop"))); + m_ui->m_actionPauseFeedFetching->setIcon(icon_theme_factory->fromTheme(QSL("media-playback-pause"), + QSL("player_pause"))); m_ui->m_actionUpdateAllItems->setIcon(icon_theme_factory->fromTheme(QSL("download"), QSL("browser-download"))); m_ui->m_actionUpdateSelectedItems->setIcon(icon_theme_factory->fromTheme(QSL("download"), QSL("browser-download"))); m_ui->m_actionUpdateSelectedItemsWithCustomTimers->setIcon(icon_theme_factory->fromTheme(QSL("download"), @@ -711,7 +713,7 @@ void FormMain::loadSize() { ->setChecked(settings->value(GROUP(GUI), SETTING(GUI::MessageViewerToolbarsVisible)).toBool()); m_ui->m_actionSwitchStatusBar->setChecked(settings->value(GROUP(GUI), SETTING(GUI::StatusBarVisible)).toBool()); - // Other startup GUI-related settings. + // Other startup GUI-related or misc settings. m_ui->m_actionSortFeedsAlphabetically ->setChecked(settings->value(GROUP(Feeds), SETTING(Feeds::SortAlphabetically)).toBool()); m_ui->m_actionShowOnlyUnreadItems @@ -721,6 +723,8 @@ void FormMain::loadSize() { ->setChecked(settings->value(GROUP(Feeds), SETTING(Feeds::AutoExpandOnSelection)).toBool()); m_ui->m_actionAlternateColorsInLists ->setChecked(settings->value(GROUP(GUI), SETTING(GUI::AlternateRowColorsInLists)).toBool()); + m_ui->m_actionPauseFeedFetching + ->setChecked(settings->value(GROUP(Feeds), SETTING(Feeds::PauseFeedFetching)).toBool()); } void FormMain::saveSize() { @@ -1027,6 +1031,7 @@ void FormMain::createConnections() { &QAction::toggled, tabWidget()->feedMessageViewer(), &FeedMessageViewer::alternateRowColorsInLists); + connect(m_ui->m_actionPauseFeedFetching, &QAction::toggled, qApp->feedReader(), &FeedReader::pauseUnpaseFeedFetching); connect(m_ui->m_actionRestoreSelectedMessages, &QAction::triggered, tabWidget()->feedMessageViewer()->messagesView(), diff --git a/src/librssguard/gui/dialogs/formmain.ui b/src/librssguard/gui/dialogs/formmain.ui index 4d3714291..e053ed71b 100644 --- a/src/librssguard/gui/dialogs/formmain.ui +++ b/src/librssguard/gui/dialogs/formmain.ui @@ -123,6 +123,7 @@ + @@ -233,7 +234,7 @@ Ctrl+Q - QAction::QuitRole + QAction::MenuRole::QuitRole @@ -258,7 +259,7 @@ - QAction::AboutRole + QAction::MenuRole::AboutRole @@ -951,6 +952,14 @@ Play in &media player + + + true + + + &Pause automatic feed fetching + + diff --git a/src/librssguard/miscellaneous/feedreader.cpp b/src/librssguard/miscellaneous/feedreader.cpp index 5bfa661dc..611408f39 100644 --- a/src/librssguard/miscellaneous/feedreader.cpp +++ b/src/librssguard/miscellaneous/feedreader.cpp @@ -22,7 +22,7 @@ #include FeedReader::FeedReader(QObject* parent) - : QObject(parent), m_autoUpdateTimer(new QTimer(this)), m_feedDownloader(nullptr) { + : QObject(parent), m_autoUpdateTimer(new QTimer(this)), m_feedDownloader(nullptr), m_feedFetchingPaused(false) { m_feedsModel = new FeedsModel(this); m_feedsProxyModel = new FeedsProxyModel(m_feedsModel, this); m_messagesModel = new MessagesModel(this); @@ -268,6 +268,20 @@ void FeedReader::stopRunningFeedUpdate() { } } +void FeedReader::pauseUnpaseFeedFetching(bool pause) { + m_feedFetchingPaused = pause; + qApp->settings()->setValue(GROUP(Feeds), Feeds::PauseFeedFetching, pause); +} + +void FeedReader::warnAboutPausedFetching() const { + if (m_feedFetchingPaused) { + qApp->showGuiMessage(Notification::Event::GeneralEvent, + GuiMessage(tr("Feed fetching is paused"), + tr("Automatic feed fetching based on time interval is currently paused."), + QSystemTrayIcon::MessageIcon::Warning)); + } +} + bool FeedReader::isFeedUpdateRunning() const { return m_feedDownloader != nullptr && m_feedDownloader->isUpdateRunning(); } @@ -307,10 +321,10 @@ void FeedReader::executeNextAutoUpdate() { // Skip this round of auto-updating, but only if user disabled it when main window is active // and there are no caches to synchronize. - if (disable_update_with_window && full_caches.empty()) { + if ((m_feedFetchingPaused || disable_update_with_window) && full_caches.empty()) { qDebugNN << LOGSEC_CORE << "Delaying scheduled feed auto-download for some time since window " << "is focused and updates while focused are disabled by the " - << "user and all account caches are empty."; + << "user (or paused) and all account caches are empty."; // Cannot update, quit. return; @@ -319,7 +333,6 @@ void FeedReader::executeNextAutoUpdate() { if (!qApp->feedUpdateLock()->tryLock()) { qDebugNN << LOGSEC_CORE << "Delaying scheduled feed auto-downloads and message state synchronization for " << "some time due to another running update."; - // Cannot update, quit. return; } @@ -333,9 +346,9 @@ void FeedReader::executeNextAutoUpdate() { synchronizeMessageData(caches); } - if (disable_update_with_window) { + if (m_feedFetchingPaused || disable_update_with_window) { qDebugNN << LOGSEC_CORE << "Delaying scheduled feed auto-download for some time since window " - << "is focused. Article cache was synchronised nonetheless."; + << "is focused or feed fetching is paused. Article cache was synchronised nonetheless."; return; } diff --git a/src/librssguard/miscellaneous/feedreader.h b/src/librssguard/miscellaneous/feedreader.h index 081ea39b5..bb38afbd4 100644 --- a/src/librssguard/miscellaneous/feedreader.h +++ b/src/librssguard/miscellaneous/feedreader.h @@ -35,6 +35,8 @@ class RSSGUARD_DLLSPEC FeedReader : public QObject { FeedsProxyModel* feedsProxyModel() const; MessagesProxyModel* messagesProxyModel() const; + void warnAboutPausedFetching() const; + // Update feeds in extra thread. void updateFeeds(const QList& feeds, bool update_switched_off_too = false); @@ -66,6 +68,7 @@ class RSSGUARD_DLLSPEC FeedReader : public QObject { void updateAllFeeds(); void updateManuallyIntervaledFeeds(); void stopRunningFeedUpdate(); + void pauseUnpaseFeedFetching(bool pause); void quit(); private slots: @@ -97,6 +100,7 @@ class RSSGUARD_DLLSPEC FeedReader : public QObject { QDateTime m_lastAutoUpdate; QThread* m_feedDownloaderThread; FeedDownloader* m_feedDownloader; + bool m_feedFetchingPaused; }; #endif // FEEDREADER_H diff --git a/src/librssguard/miscellaneous/settings.cpp b/src/librssguard/miscellaneous/settings.cpp index a5d271687..4867d19ce 100644 --- a/src/librssguard/miscellaneous/settings.cpp +++ b/src/librssguard/miscellaneous/settings.cpp @@ -98,6 +98,9 @@ DVALUE(char*) Feeds::CountFormatDef = "(%unread)"; DKEY Feeds::EnableTooltipsFeedsMessages = "show_tooltips"; DVALUE(bool) Feeds::EnableTooltipsFeedsMessagesDef = true; +DKEY Feeds::PauseFeedFetching = "pause_feed_fetching"; +DVALUE(bool) Feeds::PauseFeedFetchingDef = false; + DKEY Feeds::AutoUpdateInterval = "auto_update_interval"; DVALUE(int) Feeds::AutoUpdateIntervalDef = DEFAULT_AUTO_UPDATE_INTERVAL; @@ -290,8 +293,8 @@ DVALUE(int) GUI::HeightRowFeedsDef = -1; DKEY GUI::FeedsToolbarActions = "feeds_toolbar"; DVALUE(char*) -GUI::FeedsToolbarActionsDef = - "m_actionUpdateAllItems,m_actionStopRunningItemsUpdate,m_actionMarkAllItemsRead,spacer,search"; +GUI::FeedsToolbarActionsDef = "m_actionUpdateAllItems,m_actionStopRunningItemsUpdate,m_actionPauseFeedFetching,m_" + "actionMarkAllItemsRead,spacer,search"; DKEY GUI::StatusbarActions = "status_bar"; DVALUE(char*) diff --git a/src/librssguard/miscellaneous/settings.h b/src/librssguard/miscellaneous/settings.h index 77b748ee4..f270e62f2 100644 --- a/src/librssguard/miscellaneous/settings.h +++ b/src/librssguard/miscellaneous/settings.h @@ -94,6 +94,9 @@ namespace Feeds { KEY EnableTooltipsFeedsMessages; VALUE(bool) EnableTooltipsFeedsMessagesDef; + KEY PauseFeedFetching; + VALUE(bool) PauseFeedFetchingDef; + KEY AutoUpdateInterval; VALUE(int) AutoUpdateIntervalDef; diff --git a/src/rssguard/main.cpp b/src/rssguard/main.cpp index 2331516ef..5d92d9071 100644 --- a/src/rssguard/main.cpp +++ b/src/rssguard/main.cpp @@ -127,6 +127,7 @@ int main(int argc, char* argv[]) { qApp->loadDynamicShortcuts(); qApp->hideOrShowMainForm(); + qApp->feedReader()->warnAboutPausedFetching(); qApp->feedReader()->loadSavedMessageFilters(); qApp->feedReader()->feedsModel()->loadActivatedServiceAccounts(); qApp->showTrayIcon();