diff options
Diffstat (limited to 'pcr/freefilesync/disable-autoupdate.patch')
-rw-r--r-- | pcr/freefilesync/disable-autoupdate.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/freefilesync/disable-autoupdate.patch b/pcr/freefilesync/disable-autoupdate.patch new file mode 100644 index 000000000..d4fd36122 --- /dev/null +++ b/pcr/freefilesync/disable-autoupdate.patch @@ -0,0 +1,26 @@ +diff --git a/Source/ui/version_check.cpp b/Source/ui/version_check.cpp +index d19d05e..e30cf85 100644 +--- a/Source/ui/version_check.cpp ++++ b/Source/ui/version_check.cpp +@@ -220,9 +220,12 @@ void fff::disableUpdateCheck(time_t& lastUpdateCheck) + lastUpdateCheck = getVersionCheckInactiveId(); + } + +- + void fff::checkForUpdateNow(wxWindow& parent, std::string& lastOnlineVersion) + { ++ showNotificationDialog(&parent, DialogInfoType::info, PopupDialogCfg(). ++ setTitle(_("FreeFileSync (Parabola GNU/Linux Edition)")). ++ setMainInstructions(_("Automatic updates disabled."))); ++ + try + { + const std::string onlineVersion = getOnlineVersion(geHttpPostParameters(parent)); //throw SysError +@@ -325,6 +328,7 @@ void fff::automaticUpdateCheckEval(wxWindow* parent, time_t& lastUpdateCheck, st + { + assert(runningOnMainThread()); + ++ return ; + + const UpdateCheckResult& result = *asyncResult; + |