[maemo-developers] Screenshot as loading screen on Maemo 5

From: Aniello Del Sorbo anidel at gmail.com
Date: Thu Oct 22 18:22:02 EEST 2009
They are stored in /home/user/.cache/launch/<service name>.pvr

Speaking of which, I shall change my service name.

Aniello

2009/10/22 Luca Donaggio <donaggio at gmail.com>:
> On Thu, Oct 22, 2009 at 5:11 PM, Claudio Saavedra <csaavedra at igalia.com>
> wrote:
>>
>> El jue, 22-10-2009 a las 16:57 +0200, Luca Donaggio escribió:
>> >
>> > I'm resuming an old thread, sorry!
>> >
>> > If I call hildon_gtk_window_take_screenshot() within the callback
>> > function for the delete-event of the main app, just before
>> > gtk_main_quit(), it seems that something has already happened to the
>> > main window: it complains that it is not a GtkWindow (which usually
>> > is, as HildonWindow derives from it), but a GdkWindow, and, of course,
>> > no screenshot were taken.
>>
>> Are you sure you are passing the right window to the function?
>> event->window is not the one (just in case).
>>
>> Claudio
>>
>>
>> _______________________________________________
>> maemo-developers mailing list
>> maemo-developers at maemo.org
>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
> Thanks for the tip Claudio, but no, I'm using a reference to the main app
> window (a HildonWindow), and I'm using g_signal_connect() which should call
> my callback function before the default signal handlers.
>
> Luca Donaggio
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>



-- 
anidel
Sent from London, Eng, United Kingdom
More information about the maemo-developers mailing list