]> Pileus Git - ~andy/gtk/commit
GtkStatusIcon: support fixed-sized icons
authorRyan Lortie <desrt@desrt.ca>
Tue, 29 Mar 2011 18:14:21 +0000 (23:44 +0530)
committerRyan Lortie <desrt@desrt.ca>
Tue, 29 Mar 2011 18:56:27 +0000 (00:26 +0530)
commitae6032b2eae27c9e25b21584a6337c6e4a6114b0
tree1f9fa42957501fde1b1609900461c3120d463160
parentae22476931519c8f3846a3995da77b53ef90e38c
GtkStatusIcon: support fixed-sized icons

Use the _NET_SYSTEM_TRAY_ICON_SIZE property set by the tray mananger as
a hint that we should use a specific icon size.  This allows the tray to
instruct us that it expects 16x16 icons, for example.

Bug #645232
gtk/gtkstatusicon.c
gtk/gtktrayicon-x11.c
gtk/gtktrayicon.h