aMSN Forums
May 20, 2013, 01:23:36 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Getting aMSN tray icon position/name on KDE4  (Read 5399 times)
alexandernst
Developers
Super Power User
*
Offline Offline

Posts: 870



View Profile
« Reply #15 on: April 18, 2010, 12:59:33 pm »

I think tray icon code should be rewriten... It's somehow buggy... Ok, not exactly "buggy", but it's not perfect. I'm working on it (I'm taking my time in doing it :p), so, this maybe will be fixed some day.
Logged
Bocko
Newbie

Offline Offline

Posts: 45


View Profile
« Reply #16 on: April 18, 2010, 07:47:05 pm »

Maybe you can have a look at the implementation from here: http://www.sw4me.com/wiki/Tktray
I don't know if it works well. I'll try when I have time if there is a sample code.
« Last Edit: April 18, 2010, 07:54:53 pm by Bocko » Logged

Bocko The ChocobOST
alexandernst
Developers
Super Power User
*
Offline Offline

Posts: 870



View Profile
« Reply #17 on: April 19, 2010, 04:46:40 pm »

Thanks Bocko, I already saw it, and it's not much better than current code.
Logged
Bocko
Newbie

Offline Offline

Posts: 45


View Profile
« Reply #18 on: April 19, 2010, 07:55:01 pm »

Well, I tried the sample code in the archive and the icon is docking correctly, at least on Gnome 2.x and Gnome-Shell. However, I have to find a way to see if the position is correct...
By the way I'll try to compare this library with the one you coded and see what can be done to improve it but since I don't have that much time (and lack of knowledge in coding) you may finish it before Smiley Anyway, I'll try to help a bit if I can Smiley
Logged

Bocko The ChocobOST
alexandernst
Developers
Super Power User
*
Offline Offline

Posts: 870



View Profile
« Reply #19 on: April 19, 2010, 10:21:51 pm »

Bocko, main problem is that no of these libs support re-adding itself after a manager crash. You can test it by yourself crashing your traymanager. In KDE4: killall plasma-desktop. All trayicons will disapear, except amsn's tray. Then hit Alt+F2 and type "plasma-desktop". Traymanager will appear again, and all trayicons will dock themselfs to the new traymanager, except amsn's trayicon (it will remain in a new 22x22 single window-like thingy).
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!