Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
a3cd8882 by wurstsalat at 2022-10-30T15:02:41+01:00
fix: AvatarBox: Only react to clicks for GroupchatContacts
- - - - -
1 changed file:
- gajim/gtk/conversation/rows/widgets.py
Changes:
=====================================
gajim/gtk/conversation/rows/widgets.py
=====================================
@@ -293,6 +293,9 @@ def _on_avatar_clicked(self,
) -> int:
if event.type == Gdk.EventType.BUTTON_PRESS:
+ if not isinstance(self._contact, GroupchatContact):
+ return Gdk.EVENT_STOP
+
if event.button == 1:
app.window.activate_action('mention', GLib.Variant('s', name))
elif event.button == 3:
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/a3cd8882d0e20703be69d87adc369db158ad3a6e
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/a3cd8882d0e20703be69d87adc369db158ad3a6e
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits