Port indicators to GMenu

Registered by Lars Karlitski on 2012-05-08

Port indicators to GMenu

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Lars Karlitski
Direction:
Needs approval
Assignee:
Indicator Applet Developers
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Do we write a bridge between dbusmenu and gmenu?
Need to add the ability for libindicator to take a GMenu as well as GtkMenu
XUL and libreoffice still use dbusmenu. Can we port them to GMenu directly?
 - Not enough time
 - Is it less work than writing a bridge for dbusmenu?
Accessibility for GMenu
Need to define an action group:
 - Object path of action group is same as menu
Messaging menu re-exports the menus and muxes menus together with action groups
 - Can use sections in GMenu
 - Action namespacing as a section attribute
 - Action muxer inside indicator service
Need toolkit-specific directories for gmenu indicators
Type attribute on menuitems is planned to come back, instead of detecting via actions
 - custom types via "x-"
 - separate directories for custom type factories
 - factory gets passed gmenumodel and index
Need library to do the so loading, muxing, and creation of GtkMenus from GMenus etc
 - Need a name!
What's the first testcase port?
 - power doesn't have service
 - datetime is simplish but still has custom types
 - messaging is best
Should require namespacing on messaging actions?
 - No, would require too much of app devs
 - Need a proxy anyway to police apps

(?)

Work Items

Work items:
[desrt] making system that will load modules for custom menuitem types: DONE
[larsu] convert indicator-messages: DONE