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


Commits:
88c997b0 by wurstsalat at 2025-12-05T14:28:19+01:00
imprv: Plugins: Show hint for shipped plugins

Fixes #10209

- - - - -


1 changed file:

- gajim/gtk/plugins.py


Changes:

=====================================
gajim/gtk/plugins.py
=====================================
@@ -356,6 +356,12 @@ def _update(self) -> None:
 
         self._management_row.set_visible(self._installed and not 
app.is_flatpak())
 
+        if self._manifest.is_shipped:
+            self._management_row.set_subtitle(
+                _("This plugin is managed by your operating system")
+            )
+            self._uninstall_button.set_sensitive(False)
+
     def _get_plugin_icon(self) -> Gtk.Image:
         image = 
Gtk.Image.new_from_gicon(Gio.ThemedIcon(name="lucide-package-symbolic"))
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/88c997b07b4292ac39d7f3eea9bfd814c6d732c3

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