Skip to content

Port application menu to GMenu

Philipp Hörist requested to merge lovetox/gajim:appmenu into master

With the port there are now two different Menus, depending on your system it still might seems as its only one.

Application Menu: All Entrys in that Menu are account independent eg. Bookmarks, History Manager, Preferences, Plugins etc.

Menubar Menu:

  • Accounts Menu (Previously "Edit Menu" -> Every Entry in the Menu is account dependent
  • View - no changes here.
  • Help - no changes here.

Whats new:

  • All Menus are only build once at start except the Accounts Menu. It is also rebuild if we add or remove an account.
  • Menuitems are connected to GActions. This makes is so we dont have to rebuild the menus if a certain action can not be executed anymore (eg. we go offline), we simply deactivate the action, and all menus in the whole application that link to that action are then disabled.

Merge request reports