Cannot create non-message indications

Bug #367974 reported by C. Cooke
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libindicate
Fix Released
Wishlist
Ted Gould

Bug Description

When creating a message in python-indicate, the following code should set the type to 'system':

import indicate
indicator = indicate.Indicator()
indicator.set_property("type", "system")

Instead, you get an exception:
(example-indicator.py:14718): libindicate-WARNING **: Trying to set the 'type' of an indicator which should be done through subclassing.

According to tedg on #ayatana, this should be a simple warning. However, the exception is raised and the type is not set.

Related branches

Ted Gould (ted)
Changed in indicator-applet:
assignee: nobody → Ted Gould (ted-gould)
importance: Undecided → Wishlist
milestone: none → 0.2
status: New → Confirmed
Ted Gould (ted)
affects: indicator-applet → libindicate
Changed in libindicate:
milestone: 0.2 → none
Ted Gould (ted)
Changed in libindicate:
status: Confirmed → Fix Released
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.