Daniel Brötzmann pushed to branch mainwindow at gajim / gajim
Commits: 71d723fa by wurstsalat at 2021-11-16T14:45:02+01:00 ChatList: Don’t fail on missing stanza_id - - - - - 5db81cd7 by wurstsalat at 2021-11-16T15:03:44+01:00 WorkspaceSidebar: Set Scrolled background to transparent - - - - - 3 changed files: - gajim/data/gui/main.ui - gajim/data/style/gajim.css - gajim/gtk/chat_list.py Changes: ===================================== gajim/data/gui/main.ui ===================================== @@ -59,6 +59,7 @@ </child> <style> <class name="no-border"/> + <class name="workspace-scrolled"/> </style> </object> <packing> ===================================== gajim/data/style/gajim.css ===================================== @@ -198,6 +198,9 @@ .app-message-listbox row { } /* Workspace sidebar */ +.workspace-scrolled { + background: transparent; +} .workspace-sidebar { background: transparent; margin-right: 6px; ===================================== gajim/gtk/chat_list.py ===================================== @@ -343,7 +343,10 @@ def _on_message_received(self, event): row.set_stanza_id(event.stanza_id) else: row.set_timestamp(event.properties.timestamp) - row.set_stanza_id(event.properties.stanza_id.id) + stanza_id = None + if event.properties.stanza_id: + stanza_id = event.properties.stanza_id.id + row.set_stanza_id(stanza_id) row.set_message_text( event.msgtxt, additional_data=event.additional_data) View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/a6ce8b05e2ab5b58a568b53d8aee5c4ce83bd1f2...5db81cd7cadff012b5cad91c6af24d4ae604b82b -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/a6ce8b05e2ab5b58a568b53d8aee5c4ce83bd1f2...5db81cd7cadff012b5cad91c6af24d4ae604b82b You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits