summaryrefslogtreecommitdiff
path: root/pcr/freefilesync/disable-autoupdate.patch
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-01-26 21:03:47 -0500
committerbill-auger <mr.j.spam.me@gmail.com>2021-01-27 03:05:56 -0500
commit7471bf5b106f788cab088d06a163fc86021b681c (patch)
tree2c62883c54d485108059f28a8ad9918f077e9c32 /pcr/freefilesync/disable-autoupdate.patch
parenta4d47df007522722070e167a435398175a1ae162 (diff)
downloadabslibre-7471bf5b106f788cab088d06a163fc86021b681c.tar.gz
abslibre-7471bf5b106f788cab088d06a163fc86021b681c.tar.bz2
abslibre-7471bf5b106f788cab088d06a163fc86021b681c.zip
[freefilesync]: upgrade to v11.4
Diffstat (limited to 'pcr/freefilesync/disable-autoupdate.patch')
-rw-r--r--pcr/freefilesync/disable-autoupdate.patch26
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;
+