In Gnome3 (gnome shell) notify-send stays in tray area
Bug #818655 reported by
Adam Klobukowski
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.
var args = ["--hint=
To post a comment you must log in.
I'm using ubuntu 11.10 on mine machine it's:
in ~/.thunderbird/ <random_ string> .<email address hidden> /content/ overlay. js
## The lines: sound-file: " + sound];
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:
139 else var args = [title, message, "-i", icon, "-c", "email.arrived", "-t", time out, "-u", urgency];
## have to be changed to: int:transient: 1", title, message, "-i", icon, "-c", "email.arrived", "-t", timeout, "-u", urgency, "-h", "string: sound-file: " + sound]; int:transient: 1", title, message, "-i", icon, "-c", "email.arrived", "-t", time out, "-u", urgency];
136 // generate arguments for notifier
137 if(sound != '' && player == 'libnotify')
138 var args = ["--hint=
139 else var args = ["--hint=
Hope this helps ;-)
p.s. also I deactivated the notification in the Thunderbird main preferences, to not get two notifications for one email.