Daniel Brötzmann pushed to branch adw-application at gajim / gajim


Commits:
3c1127de by wurstsalat at 2025-06-02T20:45:27+02:00
cfix: Preferences: Don't use destructive-action for ACE button

- - - - -
f14df15d by wurstsalat at 2025-06-02T20:45:51+02:00
cfix: Plugins: Update plugin switch correctly

- - - - -
06a0ffd9 by wurstsalat at 2025-06-02T20:50:09+02:00
cfix: Contact info: Add padding for devices page

- - - - -
dc4cceba by wurstsalat at 2025-06-02T21:01:49+02:00
cfix: About: Display website and maintainers prominently

- - - - -


5 changed files:

- gajim/data/gui/contact_info.ui
- gajim/gtk/about.py
- gajim/gtk/plugins.py
- gajim/gtk/preferences.py
- + test/gtk/ui_test_about.py


Changes:

=====================================
gajim/data/gui/contact_info.ui
=====================================
@@ -753,6 +753,9 @@
                         </property>
                       </object>
                     </child>
+                    <style>
+                      <class name="p-18"/>
+                    </style>
                   </object>
                 </property>
               </object>


=====================================
gajim/gtk/about.py
=====================================
@@ -42,11 +42,11 @@ def _get_dialog(self) -> Adw.AboutDialog:
             license_type=Gtk.License.GPL_3_0_ONLY,
             website="https://gajim.org/";,
             issue_url="https://dev.gajim.org/gajim/gajim/-/issues/";,
+            developer_name="\n".join(MAINTAINERS),
             developers=MAINTAINERS + DEVELOPERS,
             designers=ARTISTS,
             debug_info=self._get_debug_info(),
             debug_info_filename="gajim_version_info.txt",
-            comments=_("A fully-featured XMPP chat client"),
             translator_credits=_("translator-credits"),
         )
         dialog.add_acknowledgement_section(_("Thanks"), THANKS)


=====================================
gajim/gtk/plugins.py
=====================================
@@ -357,6 +357,7 @@ def _update(self) -> None:
 
         self._enable_switch.set_visible(self._installed and not has_error)
         self._enable_switch.set_sensitive(plugin_activatable)
+        self._enable_switch.set_active(plugin_active)
 
         self._install_button.set_visible(not self._installed and not 
app.is_flatpak())
         self._install_button.set_sensitive(not self._installed)


=====================================
gajim/gtk/preferences.py
=====================================
@@ -1269,7 +1269,6 @@ def __init__(self, pref_window: Preferences) -> None:
                 desc=_("Please use these settings with caution!"),
                 props={
                     "button-text": _("Open"),
-                    "button-style": "destructive-action",
                     "button-callback": self._on_advanced_config_editor,
                 },
             ),


=====================================
test/gtk/ui_test_about.py
=====================================
@@ -0,0 +1,12 @@
+# This file is part of Gajim.
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+from gajim.gtk.about import AboutDialog
+
+from . import util
+
+dialog = AboutDialog()
+dialog.present()
+
+util.run_app()



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/c92eecb3cdba851b1b4a1521a621d6758be1757c...dc4cceba6183dcf884c62c90aa879ab712c12241

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