Daniel Brötzmann pushed to branch mainwindow at gajim / gajim
Commits:
94475a7e by wurstsalat at 2021-08-21T13:53:43+02:00
BaseControl: Send chat marker if we're following the chat
- - - - -
1 changed file:
- gajim/gtk/controls/base.py
Changes:
=====================================
gajim/gtk/controls/base.py
=====================================
@@ -1121,14 +1121,13 @@ def add_message(self,
self.save_message(text, 'received')
# Send chat marker if we’re actively following the chat
- # if self.parent_win and self.contact.settings.get('send_marker'):
- # if (self.parent_win.get_active_control() == self and
- # self.parent_win.is_active() and
- # self.has_focus() and end):
- # self._client.get_module('ChatMarkers').send_displayed_marker(
- # self.contact,
- # self.last_msg_id,
- # self._type)
+ if app.window.is_chat_active(self.account, self.contact.jid):
+ if not self._scrolled_view.get_autoscroll():
+ return
+ self._client.get_module('ChatMarkers').send_displayed_marker(
+ self.contact,
+ self.last_msg_id,
+ self._type)
def toggle_emoticons(self):
"""
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/94475a7e1a81706d58b98501165e7eee…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/94475a7e1a81706d58b98501165e7eee…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch mainwindow at gajim / gajim
Commits:
b7e368f9 by wurstsalat at 2021-08-17T21:10:24+02:00
Fix HTTP Upload tranfsers
- - - - -
1 changed file:
- gajim/gui_interface.py
Changes:
=====================================
gajim/gui_interface.py
=====================================
@@ -846,8 +846,8 @@ def _send_httpupload(self, chat_control, path):
chat_control.add_file_transfer(transfer)
client.get_module('HTTPUpload').start_transfer(transfer)
- @staticmethod
- def _on_http_upload_state_changed(transfer, _signal_name, state):
+ def _on_http_upload_state_changed(self, transfer, _signal_name, state):
+ # Note: This has to be a bound method in order to connect the signal
if state.is_finished:
uri = transfer.get_transformed_uri()
@@ -864,8 +864,8 @@ def _on_http_upload_state_changed(transfer, _signal_name, state):
client = app.get_client(transfer.account)
client.send_message(message)
- @staticmethod
- def _on_cancel_upload(transfer, _signal_name):
+ def _on_cancel_upload(self, transfer, _signal_name):
+ # Note: This has to be a bound method in order to connect the signal
client = app.get_client(transfer.account)
client.get_module('HTTPUpload').cancel_transfer(transfer)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/b7e368f9e4f266084c516237e70b4442…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/b7e368f9e4f266084c516237e70b4442…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch gajim_1.3 at gajim / gajim
Commits:
47908d9b by Daniel Brötzmann at 2021-08-10T08:20:35+00:00
Fix date for Gajim 1.3.0-beta2
- - - - -
1 changed file:
- ChangeLog
Changes:
=====================================
ChangeLog
=====================================
@@ -60,7 +60,7 @@ Gajim 1.3.0 (08 February 2021)
* #10421 Chat: Fix race condition when closing with ESC
-Gajim 1.3.0-beta2 (10 January 2020)
+Gajim 1.3.0-beta2 (10 January 2021)
Changes
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/47908d9bb93e1f65bc60c10cbe415688…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/47908d9bb93e1f65bc60c10cbe415688…
You're receiving this email because of your account on dev.gajim.org.