The indicator-appelt does not show a green mark if a new e-mail is available

Bug #438149 reported by Ernst
60
This bug affects 10 people
Affects Status Importance Assigned to Milestone
GMail Notifier
Fix Released
Undecided
Alexander Hungenberg
Indicator Applet
Invalid
Low
Ted Gould

Bug Description

I have Empathy and gm-notify in the indicator-applet. If I get a message via Empathy, the systray icon of the indicator-applet shows a green mark. If gm-notify detects a new message, the icon of the indicator-applet does not change at all. I would love to have a green mark if I eventually missed the OSD notify.

Revision history for this message
Alexander Hungenberg (alexander-hungenberg-gmail) wrote :

that's very interesting, because for me it works correctly as you described the Empathy behaviour. I think this is an upstream problem. Let's hope it's fixed in Karmic :)

Changed in gm-notify:
status: New → Incomplete
Revision history for this message
Ernst (ernst-blaauw) wrote : Re: [Bug 438149] Re: The indicator-appelt does not show a green mark if a new e-mail is available

I don't know how to do this, but I think we should link this bug to the
indicator-applet package in Ubuntu Karmic, as it seems there's something
wrong.

On Fri, Oct 2, 2009 at 13:58, Alexander Hungenberg <
<email address hidden>> wrote:

> that's very interesting, because for me it works correctly as you
> described the Empathy behaviour. I think this is an upstream problem.
> Let's hope it's fixed in Karmic :)
>
> ** Changed in: gm-notify
> Status: New => Incomplete
>
> --
> The indicator-appelt does not show a green mark if a new e-mail is
> available
> https://bugs.launchpad.net/bugs/438149
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Elias K Gardner (zorkerz) wrote :

Marked as also affecting indicator-applet.

Revision history for this message
Rune K. Svendsen (runeks) wrote :

Come to think of it, it is possible that this bug was introduced (at least for me) after applying the patch that fixes Bug #433412.
Before experiencing Bug #433412, which made me unable to use gm-notify, the indicator-applet-icon showed a green mark after gm-notify had notified me of new mail. But after applying the patch to Bug #433412 - which enabled me to get gm-notify to run again - the green mark doesn't appear any more. I'm including the content of the patch to Bug #433412 below because it is relatively small, in case it can help someone:

--- gm-notify.py 2009-09-26 10:48:54.156708360 +0200
+++ gm-notify.py.new 2009-09-26 10:52:56.272561344 +0200
@@ -209,7 +209,7 @@
         increased by one. The indicator is stored in a class-list to keep the reference.
         If you delete this the indicator will be removed from the applet, too'''

- new_indicator = indicate.IndicatorMessage()
+ new_indicator = indicate.Indicator()
         new_indicator.set_property("subtype", "mail")
         new_indicator.set_property("sender", msg)
         new_indicator.show()

Revision history for this message
David Barth (dbarth) wrote :

1. The appearance of the icon changed with the new icon set.
2. The V2 API requires you to explicitely set a property to call for the user attention, whereas the previous (jaunty) model was setting that for your automatically

Changed in indicator-applet:
assignee: nobody → Ted Gould (ted)
importance: Undecided → Low
status: New → Invalid
Revision history for this message
Rune K. Svendsen (runeks) wrote :

I'm changing the status of this bug to Confirmed, because it seems - as David Barth says - to be caused by gm-notify not having updated its code after the notification API was updated.

Changed in gm-notify:
status: Incomplete → Confirmed
Revision history for this message
Alexander Hungenberg (alexander-hungenberg-gmail) wrote :

mmh, does anybody has an idea where I can find some doc about the new API - I would really like to make it correctly working with karmic...

Revision history for this message
fosk (oscarrdg) wrote :

I am not good at coding... but you can maybe finde some info here:
http://blog.garethj.com/2009/10/indicator-applet-api-changes-in-ubuntu-9-10/

It seems it should be added:
new_indicator.set_property('draw-attention', 'true');

Revision history for this message
fosk (oscarrdg) wrote :

I have tried it and it works.

Revision history for this message
Rune K. Svendsen (runeks) wrote :

As said above, adding

    new_indicator.set_property('draw-attention', 'true');

after

    new_indicator.show()

in addIndicator() seems to do the trick. I've attached the patch. Works for me at least.

Alexander; here's the only official documentation I could find on it: https://wiki.ubuntu.com/MessagingMenu

Revision history for this message
Alexander Hungenberg (alexander-hungenberg-gmail) wrote :

fixed in current trunk

Changed in gm-notify:
assignee: nobody → Alexander Hungenberg (alexander-hungenberg-gmail)
status: Confirmed → Fix Committed
Changed in gm-notify:
status: Fix Committed → 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.