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


Commits:
58f224c5 by wurstsalat at 2024-11-04T23:17:37+01:00
refactor: Tooltip: Show resources and remove obsolete methods

- - - - -


1 changed file:

- gajim/gtk/tooltips.py


Changes:

=====================================
gajim/gtk/tooltips.py
=====================================
@@ -126,10 +126,6 @@ def _populate_grid(self, contact: 
types.GroupchatParticipant) -> None:
         app.plugin_manager.extension_point(
             'gc_tooltip_populate', self, contact, self._ui.tooltip_grid)
 
-    def destroy(self) -> None:
-        return
-        self._ui.tooltip_grid.destroy()
-
 
 class ContactTooltip:
     def __init__(self) -> None:
@@ -266,6 +262,7 @@ def _add_resources(
             contact)
 
         self._ui.resources_box.append(resource_box)
+        self._ui.resources_box.show()
 
     def _append_pep_info(self, contact: types.BareContact) -> None:
         tune = contact.get_tune()
@@ -281,6 +278,3 @@ def _append_pep_info(self, contact: types.BareContact) -> 
None:
             self._ui.location.set_markup(location_str)
             self._ui.location.show()
             self._ui.location_label.show()
-
-    def destroy(self) -> None:
-        self.clear_tooltip()



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/58f224c5f8011f79d9354057f17f43700522581f

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