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


Commits:
b5ed2b13 by wurstsalat at 2025-08-31T16:43:31+02:00
cfix: Preferences: Replace pipe separator with dash

- - - - -
f693a5d1 by wurstsalat at 2025-08-31T16:55:03+02:00
cfix: Contact/Group chat details: Activate any item when initializing

- - - - -


3 changed files:

- gajim/gtk/contact_info.py
- gajim/gtk/groupchat_details.py
- gajim/gtk/preference/account.py


Changes:

=====================================
gajim/gtk/contact_info.py
=====================================
@@ -149,6 +149,8 @@ def __init__(
 
         if page is not None:
             self._switcher.activate_item(page)
+        else:
+            self._switcher.activate_item("information")
 
         self._connect(
             self._ui.tree_selection, "changed", 
self._on_group_selection_changed


=====================================
gajim/gtk/groupchat_details.py
=====================================
@@ -126,6 +126,8 @@ def __init__(self, contact: GroupchatContact, page: str | 
None = None) -> None:
 
         if page is not None:
             self._switcher.activate_item(page)
+        else:
+            self._switcher.activate_item("information")
 
     def _cleanup(self) -> None:
         del self._switcher


=====================================
gajim/gtk/preference/account.py
=====================================
@@ -645,7 +645,7 @@ def __init__(self, account: str) -> None:
         GajimPreferencePage.__init__(
             self,
             key=f"{account}-general",
-            title=_("General | %(account)s") % {"account": account},
+            title=_("General – %(account)s") % {"account": account},
             groups=[],
             menu=SideBarMenuItem(
                 f"{account}-general",
@@ -663,7 +663,7 @@ def __init__(self, account: str) -> None:
         GajimPreferencePage.__init__(
             self,
             key=f"{account}-privacy",
-            title=_("Privacy | %(account)s") % {"account": account},
+            title=_("Privacy – %(account)s") % {"account": account},
             groups=[],
             menu=SideBarMenuItem(
                 f"{account}-privacy",
@@ -680,7 +680,7 @@ def __init__(self, account: str) -> None:
         GajimPreferencePage.__init__(
             self,
             key=f"{account}-encryption-omemo",
-            title=_("Encryption (OMEMO) | %(account)s") % {"account": account},
+            title=_("Encryption (OMEMO) – %(account)s") % {"account": account},
             groups=[],
             menu=SideBarMenuItem(
                 f"{account}-encryption-omemo",
@@ -698,7 +698,7 @@ def __init__(self, account: str) -> None:
         GajimPreferencePage.__init__(
             self,
             key=f"{account}-connection",
-            title=_("Connection | %(account)s") % {"account": account},
+            title=_("Connection – %(account)s") % {"account": account},
             groups=[],
             menu=SideBarMenuItem(
                 f"{account}-connection",
@@ -714,7 +714,7 @@ class LoginPage(GajimPreferencePage):
     def __init__(self, account: str) -> None:
         GajimPreferencePage.__init__(
             self,
-            title=_("Login | %(account)s") % {"account": account},
+            title=_("Login – %(account)s") % {"account": account},
             key=f"{account}-general-login",
             groups=[],
         )
@@ -726,7 +726,7 @@ class HostnamePage(GajimPreferencePage):
     def __init__(self, account: str) -> None:
         GajimPreferencePage.__init__(
             self,
-            title=_("Hostname | %(account)s") % {"account": account},
+            title=_("Hostname – %(account)s") % {"account": account},
             key=f"{account}-connection-hostname",
             groups=[],
         )
@@ -738,7 +738,7 @@ class AccountAdvancedPage(GajimPreferencePage):
     def __init__(self, account: str) -> None:
         GajimPreferencePage.__init__(
             self,
-            title=_("Advanced | %(account)s") % {"account": account},
+            title=_("Advanced – %(account)s") % {"account": account},
             key=f"{account}-advanced",
             groups=[],
             menu=SideBarMenuItem(



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/a58a793c67ce79a8d731d4258ebefbf34f40b0bc...f693a5d19a924ada65f98993eda4176d788f4cfe

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