Sat, 27 Feb 2016 12:52:47 +0100
Continued porting the web browser.
- started finished the Sync stuff
--- a/Preferences/__init__.py Fri Feb 26 20:16:59 2016 +0100 +++ b/Preferences/__init__.py Sat Feb 27 12:52:47 2016 +0100 @@ -2780,7 +2780,7 @@ "WarnOnMultipleClose", "WebSearchSuggestions", "SyncEnabled", "SyncBookmarks", "SyncHistory", "SyncPasswords", "SyncUserAgents", "SyncSpeedDial", - "SyncEncryptData", + "SyncEncryptData", "SyncEncryptPasswordsOnly", ]: return toBool(prefClass.settings.value( "WebBrowser/" + key, prefClass.webBrowserDefaults[key]))
--- a/WebBrowser/Sync/DirectorySyncHandler.py Fri Feb 26 20:16:59 2016 +0100 +++ b/WebBrowser/Sync/DirectorySyncHandler.py Sat Feb 27 12:52:47 2016 +0100 @@ -165,7 +165,7 @@ Preferences.getWebBrowser("SyncDirectoryPath"), self._remoteFiles[type_])).lastModified().toTime_t()) else: - if os.path.exists(os.path.join( + if not os.path.exists(os.path.join( Preferences.getWebBrowser("SyncDirectoryPath"), self._remoteFiles[type_])): self.syncStatus.emit(
--- a/WebBrowser/Sync/SyncHandler.py Fri Feb 26 20:16:59 2016 +0100 +++ b/WebBrowser/Sync/SyncHandler.py Sat Feb 27 12:52:47 2016 +0100 @@ -61,7 +61,7 @@ "RemoteExists": self.tr( "Remote bookmarks file exists! Syncing local copy..."), "RemoteMissing": self.tr( - "Remote bookmarks file does NOT exists. Exporting" + "Remote bookmarks file does NOT exist. Exporting" " local copy..."), "LocalNewer": self.tr( "Local bookmarks file is NEWER. Exporting local copy..."), @@ -74,7 +74,7 @@ "RemoteExists": self.tr( "Remote history file exists! Syncing local copy..."), "RemoteMissing": self.tr( - "Remote history file does NOT exists. Exporting" + "Remote history file does NOT exist. Exporting" " local copy..."), "LocalNewer": self.tr( "Local history file is NEWER. Exporting local copy..."), @@ -87,7 +87,7 @@ "RemoteExists": self.tr( "Remote logins file exists! Syncing local copy..."), "RemoteMissing": self.tr( - "Remote logins file does NOT exists. Exporting" + "Remote logins file does NOT exist. Exporting" " local copy..."), "LocalNewer": self.tr( "Local logins file is NEWER. Exporting local copy..."), @@ -101,7 +101,7 @@ "Remote user agent settings file exists! Syncing local" " copy..."), "RemoteMissing": self.tr( - "Remote user agent settings file does NOT exists." + "Remote user agent settings file does NOT exist." " Exporting local copy..."), "LocalNewer": self.tr( "Local user agent settings file is NEWER. Exporting" @@ -117,7 +117,7 @@ "Remote speed dial settings file exists! Syncing local" " copy..."), "RemoteMissing": self.tr( - "Remote speed dial settings file does NOT exists." + "Remote speed dial settings file does NOT exist." " Exporting local copy..."), "LocalNewer": self.tr( "Local speed dial settings file is NEWER. Exporting"