Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
0867f854 by wurstsalat at 2025-01-26T20:11:18+01:00
cfix: AddContact: Use SignalManager to connect 'button-clicked' event

- - - - -
b426b40f by wurstsalat at 2025-01-26T20:11:32+01:00
cfix: HistorySync: Use SignalManager to connect 'button-clicked' event

- - - - -


2 changed files:

- gajim/gtk/add_contact.py
- gajim/gtk/history_sync.py


Changes:

=====================================
gajim/gtk/add_contact.py
=====================================
@@ -68,7 +68,7 @@ def __init__(
         progress.set_title(_("Gathering information…"))
         progress.set_text(_("Trying to gather information on this address…"))
 
-        self.connect("button-clicked", self._on_button_clicked)
+        self._connect(self, "button-clicked", self._on_button_clicked)
 
         self.show_all()
 


=====================================
gajim/gtk/history_sync.py
=====================================
@@ -80,7 +80,7 @@ def __init__(self, account: str) -> None:
         success_page.set_title(_("Synchronize Chat History"))
         success_page.set_heading(_("Finished"))
 
-        self.connect("button-clicked", self._on_button_clicked)
+        self._connect(self, "button-clicked", self._on_button_clicked)
 
         # pylint: disable=line-too-long
         self.register_events(



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/58f3dd39b5818f26a5f2f0e6d242b3bc1bf8795c...b426b40f3827c77701a9b0ab09dcecb869ba1986

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/58f3dd39b5818f26a5f2f0e6d242b3bc1bf8795c...b426b40f3827c77701a9b0ab09dcecb869ba1986
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