From cd623065e75205b5901d8a0e2a4a84d16afa5526 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Sun, 14 Jul 2019 11:31:10 -0500 Subject: [PATCH] Fixed a few important errors avoiding normal usage of Socializer --- src/application.py | 2 +- src/controller/mainController.py | 4 +--- src/installer.nsi | 12 ++++++------ src/locales/ru/LC_MESSAGES/socializer.mo | Bin 49373 -> 49372 bytes src/locales/ru/LC_MESSAGES/socializer.po | 4 ++-- 5 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/application.py b/src/application.py index 0d54273..09b4ff9 100644 --- a/src/application.py +++ b/src/application.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- name = "Socializer" -version = "0.21" +version = "0.22" author = "Manuel Cortez" authorEmail = "manuel@manuelcortez.net" copyright = "Copyright (C) 2016-2019, Manuel Cortez" diff --git a/src/controller/mainController.py b/src/controller/mainController.py index 643d2af..c2744bc 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -144,10 +144,8 @@ class Controller(object): log.error("Error in setting offline status for the current user") def create_unread_messages(self): - if self.session.settings["chat"]["open_unread_conversations"] == False: - return try: - log.debug("Getting possible unread messages.") + log.debug("Creating conversation buffers...") msgs = self.session.vk.client.messages.getConversations(count=200) except VkApiError as ex: if ex.code == 6: diff --git a/src/installer.nsi b/src/installer.nsi index 023b949..33d9a3f 100644 --- a/src/installer.nsi +++ b/src/installer.nsi @@ -5,7 +5,7 @@ CRCCheck on ManifestSupportedOS all XPStyle on Name "Socializer" -OutFile "socializer_0.21_setup.exe" +OutFile "socializer_0.22_setup.exe" InstallDir "$PROGRAMFILES\socializer" InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "InstallLocation" RequestExecutionLevel admin @@ -14,10 +14,10 @@ SetCompressor /solid lzma SetDatablockOptimize on VIAddVersionKey ProductName "Socializer" VIAddVersionKey LegalCopyright "Copyright 2019 Manuel Cortez." -VIAddVersionKey ProductVersion "0.21" -VIAddVersionKey FileVersion "0.21" -VIProductVersion "0.21.0.0" -VIFileVersion "0.21.0.0" +VIAddVersionKey ProductVersion "0.22" +VIAddVersionKey FileVersion "0.22" +VIProductVersion "0.22.0.0" +VIFileVersion "0.22.0.0" !insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_DIRECTORY var StartMenuFolder @@ -50,7 +50,7 @@ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "UninstallString" '"$INSTDIR\uninstall.exe"' WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall" "InstallLocation" $INSTDIR WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall" "Publisher" "Manuel Cortez" -WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "DisplayVersion" "0.21" +WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "DisplayVersion" "0.22" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "URLInfoAbout" "http://socializer.su" WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "VersionMajor" 0 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "VersionMinor" 19 diff --git a/src/locales/ru/LC_MESSAGES/socializer.mo b/src/locales/ru/LC_MESSAGES/socializer.mo index 900873f904ac38806f585955f8c419259c1b9c23..6094d236ed69399e5d9ebfdec2e80a5f1467d71c 100644 GIT binary patch delta 1856 zcmXZce@vBC9LMpm-j+W?F%d&RcvQ0G<&Jwvk_;_%bLiHOF$YofWBG?;&1U7=(m$Sb zIa?TB;g(_x#NR(6KnUm}k@ZK3uDSd%c7?U&oU-Xg|CDX6_5N_4zh38ip7WgZJ>PSl zXLLtsWJjoDPp%&}vzoZseEbwk@p#}L7$wfyXO@QRa5h$ACf4GU=;KU0h56Wrvv3&o z-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;=Xd+joC-d+PMER<`RE+oT{_GH8JSI+!JQA zaS+#G_@q1Y3JeqXV-}8PRaGn>6)!-&=?)x;yHGt)iK<+OfBhQ1MjXRuG4(X(uZ2Pk zbYmV)#|4;)pP)X+22``0M{U%H8TbH|z?c@ZSFsRZ#vQ0c8c~TH$7H;T5xkGuH{}fV z*I97_P?M=ja3c2iItxr>d~v2eTP?6?5@1a-0@EZ?+tJF@o6_T<@$y zCESX?(tLODYvSfhu2NnkYBr6DZJ3X>zSl8C9Jp*Y3#Vc{u0>U-6!kfkp*E<)aoC9g zyn!n5E!1-{)P46+y%gU$bR?eTFwo~#j7nfTs&vOt-TE6AVIrSM39iDW*oM0P%#W@@ zZ=(JmhcO*vsNQ*m8JN)R{(uooCSEpV8vlF-I{PnB-P?%cv8TOm%KLLh%nU{fX6Man TAGN+L64>y;d+ocbR!05@hH^x1 diff --git a/src/locales/ru/LC_MESSAGES/socializer.po b/src/locales/ru/LC_MESSAGES/socializer.po index d2e2883..c5b0068 100644 --- a/src/locales/ru/LC_MESSAGES/socializer.po +++ b/src/locales/ru/LC_MESSAGES/socializer.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Socializer 0.21\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-02 11:04-0500\n" -"PO-Revision-Date: 2019-07-13 08:47-0500\n" +"PO-Revision-Date: 2019-07-14 11:18-0500\n" "Last-Translator: Manuel Cortez \n" "Language-Team: Дарья Ратникова \n" "Language: ru\n" @@ -1080,7 +1080,7 @@ msgid "Post" msgstr "Запись" msgid "Post as {user1_nom}" -msgstr "Опубликовать как {user1_name}" +msgstr "Опубликовать как {user1_nom}" msgid "Post from {user1_nom}" msgstr "Запись от {user1_gen}"