forked from pool/FreeFileSync
e1d2cea54a
- Update to 12.3: * Add custom notes to sync configurations * Highlight comparison and sync buttons * Show sync stats in config panel tool tip * Update config panel sync info even if cancelled * Support FTP listing format missing owner/group * Fixed "Class not registered" error during installation * Propagate process priority of launcher executable * Fixed config panel metadata being reset after renaming * Fixed config panel keyboard cursor after deletion/rename * Improved small icon resolution for high-DPI monitors - Update icons to be 128x128 - Add missing Animals.dat file - Drop FreeFileSync-fix-error.patch - Update to 12.2: * Fixed temporary access error when creating multiple folders in parallel * Log failure to copy folder attributes as warning only * Enable UTF-8, even if FTP server does not advertize in FEAT (vsftpd) * Fixed drag and drop for non-ASCII folders (macOS) * Explicitly detect MTP path without existence check * Fixed crash when parsing SFTP package from stream * Fixed missing COM initialization for MTP path parsing - Add FreeFileSync-fix-error.patch to fix build with gcc13. OBS-URL: https://build.opensuse.org/request/show/1088058 OBS-URL: https://build.opensuse.org/package/show/network/FreeFileSync?expand=0&rev=65
47 lines
2.4 KiB
Diff
47 lines
2.4 KiB
Diff
diff -ru a/FreeFileSync/Source/ui/gui_generated.cpp b/FreeFileSync/Source/ui/gui_generated.cpp
|
|
--- a/FreeFileSync/Source/ui/gui_generated.cpp 2023-05-17 09:16:56.000000000 +0200
|
|
+++ b/FreeFileSync/Source/ui/gui_generated.cpp 2023-05-20 15:07:59.726152996 +0200
|
|
@@ -108,13 +108,14 @@
|
|
m_menuItemHelp = new wxMenuItem( m_menuHelp, wxID_HELP, wxString( _("&View help") ) + wxT('\t') + wxT("F1"), wxEmptyString, wxITEM_NORMAL );
|
|
m_menuHelp->Append( m_menuItemHelp );
|
|
|
|
- m_menuHelp->AppendSeparator();
|
|
+ // disable update/auto update actions for packaged version (they are only hidden, to not break any code and keep the patch small)
|
|
+ //m_menuHelp->AppendSeparator();
|
|
|
|
m_menuItemCheckVersionNow = new wxMenuItem( m_menuHelp, wxID_ANY, wxString( _("&Check for updates now") ) , wxEmptyString, wxITEM_NORMAL );
|
|
- m_menuHelp->Append( m_menuItemCheckVersionNow );
|
|
+ //m_menuHelp->Append( m_menuItemCheckVersionNow );
|
|
|
|
m_menuItemCheckVersionAuto = new wxMenuItem( m_menuHelp, wxID_ANY, wxString( _("Check &automatically once a week") ) , wxEmptyString, wxITEM_CHECK );
|
|
- m_menuHelp->Append( m_menuItemCheckVersionAuto );
|
|
+ //m_menuHelp->Append( m_menuItemCheckVersionAuto );
|
|
m_menuItemCheckVersionAuto->Check( true );
|
|
|
|
m_menuHelp->AppendSeparator();
|
|
diff -ru a/FreeFileSync/Source/ui/main_dlg.cpp b/FreeFileSync/Source/ui/main_dlg.cpp
|
|
--- a/FreeFileSync/Source/ui/main_dlg.cpp 2023-05-17 09:16:56.000000000 +0200
|
|
+++ b/FreeFileSync/Source/ui/main_dlg.cpp 2023-05-20 15:08:30.462446500 +0200
|
|
@@ -944,7 +944,7 @@
|
|
updateGui();
|
|
|
|
//register regular check for update on next idle event
|
|
- Bind(wxEVT_IDLE, &MainDialog::onStartupUpdateCheck, this);
|
|
+ //Bind(wxEVT_IDLE, &MainDialog::onStartupUpdateCheck, this);
|
|
|
|
//asynchronous call to wxWindow::Layout(): fix superfluous frame on right and bottom when FFS is started in fullscreen mode
|
|
Bind(wxEVT_IDLE, &MainDialog::onLayoutWindowAsync, this);
|
|
diff -ru a/FreeFileSync/Source/ui/version_check.cpp b/FreeFileSync/Source/ui/version_check.cpp
|
|
--- a/FreeFileSync/Source/ui/version_check.cpp 2023-05-17 09:16:56.000000000 +0200
|
|
+++ b/FreeFileSync/Source/ui/version_check.cpp 2023-05-20 15:09:02.438749959 +0200
|
|
@@ -85,7 +85,8 @@
|
|
return false;
|
|
|
|
const time_t now = std::time(nullptr);
|
|
- return std::abs(now - lastUpdateCheck) >= 7 * 24 * 3600; //check weekly
|
|
+ //return std::abs(now - lastUpdateCheck) >= 7 * 24 * 3600; //check weekly
|
|
+ return false;
|
|
}
|
|
|
|
|