maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Icon lost (https://talk.maemo.org/showthread.php?t=28021)

qwerty12 2009-04-03 14:30

Re: Icon lost
 
Quote:

Originally Posted by svu (Post 276506)
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.

svu 2009-04-03 14:46

Re: Icon lost
 
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)


All times are GMT. The time now is 22:03.

vBulletin® Version 3.8.8