Reply
Thread Tools
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#11
Originally Posted by svu View Post
Another icon-related question.

I am using gtk_window_set_icon (and set_icon_list) in order to set the app window icon. I am passing valid GdkPixbuf(s), tried sizes 26 and 64 - but still I am seeing the default icon in the task list. Any ideas?
I solved it for ukki's Knots Ruby application: Use xprop to get the WMCLASS of your program and add StartupWMClass=<WMCLASS as given to you by xprop> to your desktop file.

Last edited by qwerty12; 2009-04-03 at 14:33.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 46 | Thanked: 6 times | Joined on Sep 2008
#12
Thanks a bunch, I'll try.

Actually, I found the way ruby binding deals with the window class and window title - a bit strange. It puts the window class as the first part of the window title (second part is what you give to set_title)
 

The Following User Says Thank You to svu For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 11:21.