Daniel Brötzmann pushed to branch gtk4 at gajim / gajim
Commits:
2fb3075a by wurstsalat at 2024-11-02T19:52:01+01:00
refactor: ChatList: Rename method to avoid override
- - - - -
2 changed files:
- gajim/gtk/chat_list.py
- gajim/gtk/chat_list_row.py
Changes:
=====================================
gajim/gtk/chat_list.py
=====================================
@@ -428,7 +428,7 @@ def _change_pinned_order(
def _update_row_state(self) -> bool:
for row in self._chats.values():
- row.update_state()
+ row.update_row_state()
return True
def _filter_func(self, row: ChatListRow) -> bool:
=====================================
gajim/gtk/chat_list_row.py
=====================================
@@ -355,7 +355,7 @@ def update_time(self) -> None:
self._ui.timestamp_label.set_text(
get_uf_relative_time(datetime.fromtimestamp(self.timestamp)))
- def update_state(self) -> None:
+ def update_row_state(self) -> None:
self.update_time()
self._ui.mute_image.set_visible(self.contact.is_muted)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/2fb3075a358363ac637158e869f20524f5da23cf
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/2fb3075a358363ac637158e869f20524f5da23cf
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]