Hi Uli,

Since you said you don't have any systray icons to test, I "borrowed" some code from stackoverflow, made a couple of modifications, and pasted it at http://pastebin.com/RifNWzKA.

The code creates a new systray icon for each instance of the program. It uses PyQt, and has been tested on both python 2.7 and python 3.3. You might have to change line 16 to point to a valid icon file.

Best,
Prash

On 01/01/13 18:03, Prashanth wrote:
Apologies for hitting "reply" instead of "reply to mailing list".

No changes were visible with this latest modification.


On 01/01/13 17:53, Uli Schlachter wrote:
On 01.01.2013 17:24, Prashanth wrote:
Thanks, Uli. This did solve most of the problem. But one issue remains:
the systray icons are tiny. The more there are, the tinier they get. It
is as if they grow vertically, but resize according to the horizontal
space available.

Screenshot at http://imageshack.us/photo/my-images/829/screenshot010113.png/

Can you please show me a way to fix that too?
Hm. I'm not sure what is causing this and I don't have any systray icons to test this with right now. However, a cheap hack to work around this is the following:

Edit /usr/share/awesome/lib/wibox/widget/systray.lua, line 21. Replace

   function systray:draw(wibox, cr, width, height)

with

   function systray:draw(wibox, cr, height, width)



--
To unsubscribe, send mail to [email protected].

Reply via email to