In Gnome3 (gnome shell) notify-send stays in tray area

Bug #818655 reported by Adam Klobukowski
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Thunderbird Indicator
New
Undecided
Unassigned

Bug Description

In Gnome3, each call to notify-send by this extension, leaves permanent icon in tray area. You have to click on notification to get rid of it.

To fix it, one have to change one line in thunderbird.indicator.jar -> content/options.xul (line 32) to:

var args = ["--hint=int:transient:1", "-i", iconName, "-c", category, summary, body];

Revision history for this message
Mario Hock (mariohock) wrote :

I'm using ubuntu 11.10 on mine machine it's:

in ~/.thunderbird/<random_string>.<email address hidden>/content/overlay.js

## The lines:
136 // generate arguments for notifier
137 if(sound != '' && player == 'libnotify')
138 var args = [title, message, "-i", icon, "-c", "email.arrived", "-t", timeout, "-u", urgency, "-h", "string:sound-file:" + sound];
139 else var args = [title, message, "-i", icon, "-c", "email.arrived", "-t", time out, "-u", urgency];

## have to be changed to:
136 // generate arguments for notifier
137 if(sound != '' && player == 'libnotify')
138 var args = ["--hint=int:transient:1", title, message, "-i", icon, "-c", "email.arrived", "-t", timeout, "-u", urgency, "-h", "string:sound-file:" + sound];
139 else var args = ["--hint=int:transient:1", title, message, "-i", icon, "-c", "email.arrived", "-t", time out, "-u", urgency];

Hope this helps ;-)

p.s. also I deactivated the notification in the Thunderbird main preferences, to not get two notifications for one email.

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.