Re: How to get application icons in task navigator

2007-03-23 Thread Alessandro Pasotti
Now it works, stupid me: I did'nt notice the "n" in the "#ifndef" condition, there was another putenv buried inside :( Thanks everybody for helping. 2007/3/23, Eduardo Lima <[EMAIL PROTECTED]>: On 3/23/07, Alessandro Pasotti <[EMAIL PROTECTED]> wrote: > [...] > > I tested also > putenv("SDL_VI

Re: How to get application icons in task navigator

2007-03-23 Thread Eduardo Lima
On 3/23/07, Alessandro Pasotti <[EMAIL PROTECTED]> wrote: [...] I tested also putenv("SDL_VIDEO_X11_WMCLASS=tuxpaint"); after main() You should place the setenv/putenv call before sdl_init() call and add the StartupWMClass=tuxpaint entry in your .desktop file. As examples, canola and carma

Fwd: How to get application icons in task navigator

2007-03-23 Thread Alessandro Pasotti
2007/3/23, Frantisek Dufka <[EMAIL PROTECTED]>: Alessandro Pasotti wrote: > the howto says I must add libshadowapp support I found nothing in > google, any hint? > Huh? Where? http://www.maemo.org/platform/docs/howtos/howto_game_startup_bora.html#NonGTK Secondly, add support for the lib

Re: How to get application icons in task navigator

2007-03-23 Thread Alessandro Pasotti
the howto says I must add libshadowapp support I found nothing in google, any hint? 2007/3/23, Alessandro Pasotti <[EMAIL PROTECTED]>: I set it just after main() with no effect I'm trying the wrapper way right now... 2007/3/23, Frantisek Dufka <[EMAIL PROTECTED] >: > > Alessandro Pa

Re: How to get application icons in task navigator

2007-03-23 Thread Alessandro Pasotti
I set it just after main() with no effect I'm trying the wrapper way right now... 2007/3/23, Frantisek Dufka <[EMAIL PROTECTED]>: Alessandro Pasotti wrote: > Is the wrapper script mandatory? Don't know. Never tried without it. I find setting variable inside executable to be not very ele

Re: How to get application icons in task navigator

2007-03-23 Thread Frantisek Dufka
Alessandro Pasotti wrote: Is the wrapper script mandatory? Don't know. Never tried without it. I find setting variable inside executable to be not very elegant solution, but that's just me :-) Also maybe setting it in your code may be too late and has no effect since SDL reads this variabl

Re: How to get application icons in task navigator

2007-03-23 Thread Alessandro Pasotti
Thanks for the hint, I already tried this (and don't work), but I'm not using any wrapper script. Is the wrapper script mandatory? 2007/3/23, Frantisek Dufka <[EMAIL PROTECTED]>: Frantisek Dufka wrote: > As for the > shortcut file, make sure there are no extra spaces in the line with > appl

Re: How to get application icons in task navigator

2007-03-23 Thread Frantisek Dufka
Frantisek Dufka wrote: As for the shortcut file, make sure there are no extra spaces in the line with application name (just in case). I mean the 'StartupWMClass=app' line. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.

Re: How to get application icons in task navigator

2007-03-23 Thread Frantisek Dufka
Alessandro Pasotti wrote: I tried several times (with OS2005, 2006, 2007 and 2007 hackers edition) to get rid of this without success. This howto don't work: http://maemo.org/maemowiki/GameDevelopment#head-c91f345718121fbd009c639728f9de0104308789 It does work for me since IT2005 days and with

Re: How to get application icons in task navigator

2007-03-23 Thread Eduardo Lima
Hi Alessandro, Try something like this, if you're using C: setenv ("SDL_VIDEO_X11_WMCLASS", "your-app", 1); Or in python: os.environ["SDL_VIDEO_X11_WMCLASS"] = "carman-sdl" Best Regards, Etrunko. On 3/23/07, Alessandro Pasotti <[EMAIL PROTECTED]> wrote: The problem: pressing the Ho

How to get application icons in task navigator

2007-03-23 Thread Alessandro Pasotti
The problem: pressing the Home key when in fullscreen mode from a SDL app brings to the desktop but the app icon does not appear, hence there is no way to go back to the app. An year is passed and this problem still affects almost all games and other SDL apps ported to maemo without integrating l