[maemo-developers] Screenshot as loading screen on Maemo 5
From: Kimmo Hämäläinen kimmo.hamalainen at nokia.comDate: Fri Oct 23 15:37:20 EEST 2009
- Previous message: Screenshot as loading screen on Maemo 5
- Next message: Screenshot as loading screen on Maemo 5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 2009-10-23 at 09:58 +0200, ext Claudio Saavedra wrote: > El vie, 23-10-2009 a las 09:39 +0300, Kimmo Hämäläinen escribió: > > > > > > > it's a good idea to check for the existence of the screenshot and > > > recreate it if necessary. > > > > Now that the function is missing this argument (bad design). > > What do you mean by bad design? Because it's not clear who should check for the existing image, or whether it's done at all. ... > The only thing that this method is doing in the client side is to set a > property in the window. When @take is %TRUE, it's the desktop the one > who should actually verify whether the screenshot exists already and > create it or not. That doesn't really require new API, just that the > desktop does the full job instead of delegating the responsibility to do > black voodoo to the client application. Yeah, that's right, we can check it in hildon-desktop, but the function description should also tell the user of the API what is happening. -Kimmo > > Of course a lot of applications are already checking for the existence > of the screenshot, but changing the semantics this way shouldn't really > hurt. > > Claudio > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers
- Previous message: Screenshot as loading screen on Maemo 5
- Next message: Screenshot as loading screen on Maemo 5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]