Philipp Hörist pushed to branch master at gajim / gajim
Commits:
8d583a18 by Andrey Gursky at 2018-03-21T19:30:21+01:00
Fixup for History Manager
Only call Gtk.main_quit() if History Manager is running standalone.
- - - - -
1 changed file:
- gajim/history_manager.py
Changes:
=====================================
gajim/history_manager.py
=====================================
--- a/gajim/history_manager.py
+++ b/gajim/history_manager.py
@@ -225,16 +225,19 @@ class HistoryManager:
def on_history_manager_window_delete_event(self, widget, event):
if not self.AT_LEAST_ONE_DELETION_DONE:
- Gtk.main_quit()
+ if __name__ == '__main__':
+ Gtk.main_quit()
return
def on_yes(clicked):
self.cur.execute('VACUUM')
self.con.commit()
- Gtk.main_quit()
+ if __name__ == '__main__':
+ Gtk.main_quit()
def on_no():
- Gtk.main_quit()
+ if __name__ == '__main__':
+ Gtk.main_quit()
dialog = dialogs.YesNoDialog(
_('Do you want to clean up the database? '
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/8d583a180161b37e6b01991d3a982772ee…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/8d583a180161b37e6b01991d3a982772ee…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
57d4ddcd by Philipp Hörist at 2018-03-21T19:17:15+01:00
Commandline args are always type str in Python3
Fixes #8970
- - - - -
1 changed file:
- gajim/gajim_remote.py
Changes:
=====================================
gajim/gajim_remote.py
=====================================
--- a/gajim/gajim_remote.py
+++ b/gajim/gajim_remote.py
@@ -480,8 +480,7 @@ class GajimRemote:
"""
Calls self.method with arguments from sys.argv[2:]
"""
- args = [i.decode(PREFERRED_ENCODING) for i in self.arguments]
- args = [dbus.String(i) for i in args]
+ args = [dbus.String(i) for i in self.arguments]
try:
res = self.method(*args)
return res
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/57d4ddcd578b406ec445b9ce158d23ce88…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/57d4ddcd578b406ec445b9ce158d23ce88…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
25e123a3 by Philipp Hörist at 2018-03-20T18:25:04+01:00
Windows Build: Move ssl libs to correct dir
Python searches in lib-dynload and if not found it searches in
C:/Windows/system32 which can contain dlls with an invalid version
Fixes #8905
- - - - -
2 changed files:
- win/_base.sh
- win/build.sh
Changes:
=====================================
win/_base.sh
=====================================
--- a/win/_base.sh
+++ b/win/_base.sh
@@ -293,6 +293,14 @@ function cleanup_install {
}
+function move_ssl_libs {
+ # Pythons ssl module searches in that path for these dlls, if they are not there
+ # C:/Windows/system32 is searcherd and potentially wrong versioned dlls are found there
+ cp "${MINGW_ROOT}"/bin/libeay32.dll "${MINGW_ROOT}"/lib/python3.6/lib-dynload/libeay32.dll
+ cp "${MINGW_ROOT}"/bin/ssleay32.dll "${MINGW_ROOT}"/lib/python3.6/lib-dynload/ssleay32.dll
+
+}
+
function build_installer {
(cd "$BUILD_ROOT" && makensis -NOCD -DVERSION="$QL_VERSION_DESC" "${MISC}"/gajim.nsi)
(cd "$BUILD_ROOT" && makensis -NOCD -DVERSION="$QL_VERSION_DESC" "${MISC}"/gajim-portable.nsi)
=====================================
win/build.sh
=====================================
--- a/win/build.sh
+++ b/win/build.sh
@@ -17,6 +17,7 @@ function main {
install_deps
install_gajim "$GIT_TAG"
cleanup_install
+ move_ssl_libs
build_installer
}
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/25e123a379040209cef56e2adda390205d…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/25e123a379040209cef56e2adda390205d…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
9c295e62 by Philipp Hörist at 2018-03-20T09:34:59+01:00
Update ChangeLog
- - - - -
1 changed file:
- ChangeLog
Changes:
=====================================
ChangeLog
=====================================
--- a/ChangeLog
+++ b/ChangeLog
@@ -33,6 +33,7 @@ Gajim 1.0.0 (17 March 2018)
- Meta Contacts: Filtering the roster could lead to a crash in some circumstances. Use CTRL + N for starting new chats as a workaround
- Audio/Video support is currently not maintained and most likely not working
+ - Windows: Translation is not working currently
Gajim 0.16.9 (30 November 2017)
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/9c295e62c631dfffcfa0a468ac187164fd…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/9c295e62c631dfffcfa0a468ac187164fd…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
83f57d49 by Philipp Hörist at 2018-03-19T20:25:25+01:00
Remove unused code
- - - - -
1 changed file:
- gajim/conversation_textview.py
Changes:
=====================================
gajim/conversation_textview.py
=====================================
--- a/gajim/conversation_textview.py
+++ b/gajim/conversation_textview.py
@@ -171,10 +171,6 @@ class ConversationTextview(GObject.GObject):
MESSAGE_ENCRYPTED_PIXBUF = gtkgui_helpers.get_icon_pixmap(
'channel-secure-croped-symbolic')
- # smooth scroll constants
- MAX_SCROLL_TIME = 0.4 # seconds
- SCROLL_DELAY = 33 # milliseconds
-
def __init__(self, account, used_in_history_window = False):
"""
If used_in_history_window is True, then we do not show Clear menuitem in
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/83f57d49cba0bc80c3dfc2be51fbf0ff14…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/83f57d49cba0bc80c3dfc2be51fbf0ff14…
You're receiving this email because of your account on dev.gajim.org.