Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
03415b1d by wurstsalat at 2024-11-20T21:21:10+01:00
imprv: MessageRowActions: Don't show actions if message selection is active
- - - - -
1 changed file:
- gajim/gtk/conversation/view.py
Changes:
=====================================
gajim/gtk/conversation/view.py
=====================================
@@ -612,6 +612,11 @@ def _update_descendants(self, message: MessageRow) -> None:
def _on_message_row_state_flags_changed(
self, row: MessageRow, previous_flags: Gtk.StateFlags
) -> None:
+ if self._list_box.get_selection_mode() == Gtk.SelectionMode.MULTIPLE:
+ # Message row selection active, hide MessageRowActions
+ self._message_row_actions.hide_actions()
+ return
+
current_flags = self.get_state_flags()
if (
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/03415b1dee4a32523649ac0773eb48b98991d184
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/03415b1dee4a32523649ac0773eb48b98991d184
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]