Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
018ebe9e by wurstsalat at 2022-07-24T16:22:37+02:00
fix: Settings migration: Don’t fail on missing proxies key
Fixes #11050
- - - - -
1 changed file:
- gajim/common/optparser.py
Changes:
=====================================
gajim/common/optparser.py
=====================================
@@ -200,7 +200,8 @@ def update_config_to_1193(self):
def update_config_to_1194(self):
# Delete all BOSH proxies
- for name in self.old_values['proxies']:
+ proxies = self.old_values.get('proxies', [])
+ for name in proxies:
if self.old_values['proxies'][name]['type'] == 'bosh':
app.config.del_per('proxies', name)
for account in self.old_values['accounts']:
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/018ebe9e91f1b2ecec39ee2de6180639…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/018ebe9e91f1b2ecec39ee2de6180639…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
b0fbea24 by lovetox at 2022-07-24T14:49:01+02:00
refactor: Use single quotes
- - - - -
30 changed files:
- gajim/common/app.py
- gajim/common/application.py
- gajim/common/cert_store.py
- gajim/common/client.py
- gajim/common/const.py
- gajim/common/dbus/remote_control.py
- gajim/common/exceptions.py
- gajim/common/file_props.py
- gajim/common/helpers.py
- gajim/common/i18n.py
- gajim/common/idle.py
- gajim/common/jingle_content.py
- gajim/common/jingle_ft.py
- gajim/common/jingle_ftstates.py
- gajim/common/jingle_rtp.py
- gajim/common/jingle_session.py
- gajim/common/jingle_transport.py
- gajim/common/jingle_xtls.py
- gajim/common/logging_helpers.py
- gajim/common/modules/bits_of_binary.py
- gajim/common/modules/bytestream.py
- gajim/common/modules/httpupload.py
- gajim/common/modules/jingle.py
- gajim/common/passwords.py
- gajim/common/preview.py
- gajim/common/proxy65_manager.py
- gajim/common/regex.py
- gajim/common/setting_values.py
- gajim/common/settings.py
- gajim/common/storage/archive.py
The diff was not included because it is too large.
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/b0fbea240d0722c8fa5a1515ff327384…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/b0fbea240d0722c8fa5a1515ff327384…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
1514beca by wurstsalat at 2022-07-24T12:41:46+02:00
fix: Chat Markers: Don’t send marker for outgoing messages
Fixes #11043
- - - - -
1 changed file:
- gajim/gtk/controls/base.py
Changes:
=====================================
gajim/gtk/controls/base.py
=====================================
@@ -1134,7 +1134,7 @@ def add_message(self,
else:
self._jump_to_end_button.add_unread_count()
- if message_id:
+ if message_id and kind == 'incoming':
if self.is_groupchat:
self.last_msg_id = stanza_id or message_id
else:
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/1514becae21286a3763927d9f24b2585…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/1514becae21286a3763927d9f24b2585…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
cc5d3ffa by wurstsalat at 2022-07-23T22:56:32+02:00
fix: Main Window: Move to stored position on startup
- - - - -
1 changed file:
- gajim/gtk/main.py
Changes:
=====================================
gajim/gtk/main.py
=====================================
@@ -54,6 +54,7 @@
from .builder import get_builder
from .util import get_app_window
from .util import get_key_theme
+from .util import move_window
from .util import resize_window
from .util import restore_main_window_position
from .util import save_main_window_position
@@ -191,6 +192,10 @@ def _prepare_window(self) -> None:
self.set_skip_taskbar_hint(not app.settings.get('show_in_taskbar'))
+ x_pos = app.settings.get('mainwin_x_position')
+ y_pos = app.settings.get('mainwin_y_position')
+ move_window(self, x_pos, y_pos)
+
self.show_all()
show_main_window = app.settings.get('show_main_window_on_startup')
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/cc5d3ffa6acb514ec4ecc86c741efd7a…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/cc5d3ffa6acb514ec4ecc86c741efd7a…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
d00dfe2e by wurstsalat at 2022-07-23T22:44:01+02:00
fix: ConversationView: Fix linting error
- - - - -
3bc58246 by wurstsalat at 2022-07-23T22:44:01+02:00
imprv: Startup: Show hint in console if Gajim is already running
Fixes #11039
- - - - -
2 changed files:
- gajim/gtk/application.py
- gajim/gtk/conversation/view.py
Changes:
=====================================
gajim/gtk/application.py
=====================================
@@ -383,6 +383,8 @@ def _handle_local_options(self,
self.register()
if self.get_is_remote():
+ print('Gajim is already running. '
+ 'The primary instance will handle remote commands')
return -1
self._core_command_line(options)
=====================================
gajim/gtk/conversation/view.py
=====================================
@@ -392,7 +392,7 @@ def _reduce_messages_before(self) -> bool:
row1 = self.get_row_at_index(2)
row2 = self.get_row_at_index(3)
- if row1.type == row2.type == 'date':
+ if row1.type == 'date' and row2.type == 'date':
# First two rows are date rows,
# it’s safe to remove the fist row
row1.destroy()
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/4f486209083c62ca2914fee5c9f758e…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/4f486209083c62ca2914fee5c9f758e…
You're receiving this email because of your account on dev.gajim.org.