Philipp Hörist pushed to branch master at gajim / gajim


Commits:
bf499ef8 by Philipp Hörist at 2025-09-07T14:07:53+02:00
change: AccountMenu: Simplify menu

- - - - -


1 changed file:

- gajim/gtk/menus.py


Changes:

=====================================
gajim/gtk/menus.py
=====================================
@@ -226,19 +226,12 @@ def get_account_menu(account: str) -> GajimMenu:
         (_("Profile"), f"app.{account}-profile", account),
         (_("Discover Services…"), f"app.{account}-services", account),
         (_("Execute Command…"), f"app.{account}-execute-command", params),
-    ]
-
-    menu = GajimMenu.from_list(menuitems)
-
-    advanced_menuitems: MenuItemListT = [
         (_("Archiving Preferences"), f"app.{account}-archive", account),
         (_("PEP Configuration"), f"app.{account}-pep-config", account),
         (_("Synchronize History…"), f"app.{account}-sync-history", account),
     ]
 
-    menu.append_submenu(_("Advanced"), GajimMenu.from_list(advanced_menuitems))
-
-    return menu
+    return GajimMenu.from_list(menuitems)
 
 
 def get_encryption_menu() -> GajimMenu:



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

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