Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
2f4fc205 by wurstsalat at 2022-09-29T09:49:22+02:00
ci: Windows: Add libheif dependency
This adds a GdkPixbuf loader for HEIF and AVIF images, see #11020
- - - - -
1 changed file:
- win/_base.sh
Changes:
=====================================
win/_base.sh
=====================================
@@ -89,6 +89,7 @@ function install_deps {
mingw-w64-"${ARCH}"-python-pip \
mingw-w64-"${ARCH}"-adwaita-icon-theme \
mingw-w64-"${ARCH}"-libwebp \
+ mingw-w64-"${ARCH}"-libheif \
mingw-w64-"${ARCH}"-sqlite3 \
mingw-w64-"${ARCH}"-goocanvas \
mingw-w64-"${ARCH}"-gspell \
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/2f4fc20518caacedca808f7e0f6341ca…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/2f4fc20518caacedca808f7e0f6341ca…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
5a7d980b by Philipp Hörist at 2022-09-28T22:10:04+02:00
fix: Notifications: Show correct message sender for MUC notifications
Fixes #11177
- - - - -
1 changed file:
- gajim/gtk/chat_stack.py
Changes:
=====================================
gajim/gtk/chat_stack.py
=====================================
@@ -371,7 +371,7 @@ def _issue_notification(self, event: events.MessageReceived) -> None:
if isinstance(contact, GroupchatContact):
msg_type = 'group-chat-message'
- title += f' {contact.nickname} ({contact.name})'
+ title += f' {event.resource} ({contact.name})'
assert contact.nickname is not None
needs_highlight = helpers.message_needs_highlight(
text, contact.nickname, client.get_own_jid().bare)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/5a7d980b186d0e4da42ecc15bad63c78…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/5a7d980b186d0e4da42ecc15bad63c78…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
5ac9a4b9 by Philipp Hörist at 2022-09-28T21:50:41+02:00
fix: TCP: Improve detection of broken connection
Issue a disconnected signal on any zero data read
- - - - -
1 changed file:
- nbxmpp/tcp.py
Changes:
=====================================
nbxmpp/tcp.py
=====================================
@@ -257,11 +257,8 @@ class TCPConnection(Connection):
data = data.get_data()
if not data:
- if self._state == TCPState.DISCONNECTING:
- self._log.info('Reveived zero data on _read_async()')
- self._finalize('disconnected')
- else:
- self._log.warning('Reveived zero data on _read_async()')
+ self._log.info('Reveived zero data on _read_async()')
+ self._finalize('disconnected')
return
self._renew_keepalive_timer()
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/5ac9a4b900616dce521ce690…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/5ac9a4b900616dce521ce690…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
986cfb9c by Philipp Hörist at 2022-09-28T20:26:29+02:00
fix: ChatList: Show context menu in correct position
When the context menu was triggered with the mouse over the close
button, the menu would show far away from the mouse.
Fixes #11165
- - - - -
d7ff50f4 by Philipp Hörist at 2022-09-28T20:26:29+02:00
fix: Discovery: Don’t allow to join top level components
It seems there is no way to detect if a component is a room or a MUC
component. As a workaround simply assume all components are not rooms.
Fixes #11175
- - - - -
2 changed files:
- gajim/gtk/chat_list.py
- gajim/gtk/discovery.py
Changes:
=====================================
gajim/gtk/chat_list.py
=====================================
@@ -872,6 +872,15 @@ def _popup_menu(self, event: Gdk.EventButton):
rectangle.y = int(event.y)
rectangle.width = rectangle.height = 1
+ event_widget = Gtk.get_event_widget(event)
+ if isinstance(event_widget, Gtk.Button):
+ # When the event is triggered by pressing the close button we get
+ # a x coordinate relative to the window of the close button, which
+ # would be a very low x integer as the close button is small, this
+ # leads to opening the menu far away from the mouse. We overwrite
+ # the x coordinate with an approx. position of the close button.
+ rectangle.x = int(self.get_allocated_width() - 10)
+
popover = Gtk.Popover.new_from_model(self, menu)
popover.set_relative_to(self)
popover.set_position(Gtk.PositionType.RIGHT)
=====================================
gajim/gtk/discovery.py
=====================================
@@ -1423,8 +1423,6 @@ def _update_actions(self, jid, node, identities, features, data):
else:
self.register_button.set_label(_('Re_gister'))
self.register_button.set_sensitive(True)
- if self.join_button and Namespace.MUC in features:
- self.join_button.set_sensitive(True)
def _default_action(self, jid, node, identities, features, data):
if AgentBrowser._default_action(self, jid, node, identities,
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/0baa4d801382251c9fe61ae5a38ffd5…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/0baa4d801382251c9fe61ae5a38ffd5…
You're receiving this email because of your account on dev.gajim.org.