Indicator menu items: Messaging and Sound menus

Bug #1008431 reported by Víctor R. Ruiz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Autopilot
Fix Released
Medium
Allan LeSage
Unity
Won't Fix
Undecided
Unassigned
unity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Add support to obtain the items of Indicator menus (especially, Messaging and Sound menu).

Something similar to this:

indicators = Indicators.get_all_instances()[0]
# Get indicator for Messaging Menu
indicator_messages = indicators.get_indicator_by_name_hint('indicator-messages')
# Get menu items
menu_items = indicator_messages.get_children_by_type(IndicatorMenuItem)
for item in menu_items:
    print item.label, item.counter

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :

This needs Gtk introspections upport, which is planned, but not yet done.

Changed in autopilot:
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Allan LeSage (allanlesage)
Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :

Gtk support landed in autopilot a while ago, so this is done from our point of view. Adding a bug task to unity, since I'm not sure what the state of this is on their side.

Changed in autopilot:
status: Triaged → Fix Released
Andrea Azzarone (azzar1)
Changed in unity:
status: New → Won't Fix
Changed in unity (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.