Philipp Hörist pushed to branch master at gajim / gajim


Commits:
37235bdb by Philipp Hörist at 2025-11-29T09:55:19+01:00
refactor: SidebarListbox: Access object property directly

- - - - -


1 changed file:

- gajim/gtk/sidebar_listbox.py


Changes:

=====================================
gajim/gtk/sidebar_listbox.py
=====================================
@@ -117,7 +117,7 @@ def set_from_paintable(self, paintable: Gdk.Paintable | 
None) -> None:
 
     def set_unread_notify(self, obj: GObject.Object) -> None:
         def _on_notify(obj_: GObject.Object, _param: GObject.ParamSpec) -> 
None:
-            self.set_unread_count(obj_.props.unread_count)  # pyright: ignore
+            self.set_unread_count(obj_.unread_count)  # pyright: ignore
 
         self._connect(obj, "notify::unread-count", _on_notify)
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/37235bdb061cb043318de8b0055b922acae851f9

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/37235bdb061cb043318de8b0055b922acae851f9
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]

Reply via email to