Open GoogleCodeExporter opened 9 years ago
Same problem in Ubuntu 12.10 64 bits with Unity.
Transmission Remote 1.1. "Show Transmission icon in the notification area"
clicked.
If I minimize the window, minimizes to Unity left bar, like any other normal
window. When I close the window, it closes the application totally.
What's the purpose of the tray icon then?
Regards.
Original comment by si...@j1s.es
on 13 Feb 2013 at 2:54
My C-fu sucks, but I believe I have fixed this issue. My patch is attached.
You can also pull directly from my github branch:
git://github.com/EnigmaCurry/transmission-remote-gtk.git
(branch is fix-minimize-to-tray)
Original comment by tellarite
on 26 Feb 2013 at 1:12
Attachments:
This patch doesn't work with Unity on Ubuntu 12.10 64 bits.
Original comment by si...@j1s.es
on 26 Feb 2013 at 12:00
Unity appears to do tray icons in a completely unorthodox way, hiding regular
system tray icons and using their own 'appindicators'. It looks like
transmission-remote-gtk has support for these appindicators, but it uses
entirely different code than the regular system tray icons, using several
#ifdef blocks to test for the availability of appindicators.
Here's a patch that removes some of that mess and reverts it back to using
regular system tray icons instead of an appindicator.
You have to tell unity that you want to display them though, as they are hidden
by default:
gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"
or
gsettings set com.canonical.Unity.Panel systray-whitelist
"['transmission-remote-gtk']"
Although this second patch does fix the issue in unity, I don't think it is
necessarily what most unity users would want, so it is probably best to not
include it into the upstream code.
Original comment by tellarite
on 26 Feb 2013 at 2:21
Attachments:
Original issue reported on code.google.com by
tellarite
on 8 Feb 2013 at 10:32