derekstavis / transmission

A GNOME 3.14 HIG-compliant Transmission
Other
55 stars 1 forks source link

Mono tray icon #31

Open hmlendea opened 8 years ago

hmlendea commented 8 years ago

Can you please add support for mono tray icons? All my tray icons are white on a dark gray panel, and this is the only one with colours, and it looks ugly. I think the fix is to make it use the "transmission-tray-icon.svg" icon, which is provided by many themes with mono support

derekstavis commented 8 years ago

Whoa, great idea! I will give a look at supporting SVG tray icons and what's needed to support both dark and light themes! Thanks for the report! :+1:

derekstavis commented 8 years ago

The main issue is that GtkStatusIcon is deprecated, and there will be no development toward maintaining it in next GTK versions. I believe the better alternative to this is using a GNOME extension. But I will still give a look.

bilelmoussaoui commented 7 years ago

Shouldn't be that complicated, just need to change the icon name here https://github.com/derekstavis/transmission/blob/wip/gtk-3.14/gtk/tr-icon.c#L26 to something like transmission-tray-icon And you have to add the icon in https://github.com/derekstavis/transmission/tree/wip/gtk-3.14/gtk/icons 16, 22, 24 sizes ! :+1: