Nah, single instance works without x-osso-service as well. I don't know whether that line has any sensible purpose, actually - dbus activation will be done with separate dbus service file anyway. -- Sent from my Nokia N900
----- Original message ----- > > I thought the DBus initialization was used to allow only one intsnace of > your program to be run, which is good on a handheld device ... > > I think you should let the user decide if he wants to put a shortcut on > his desktop or not ? > > Fred > > Le 10/08/2010 17:29, Naresh Mehta a écrit : > > Hi All, > > > > > <f...@lefevere-laoide.net> wrote: > > > > > > > You simply have to create a .desktop file associated with your > > > > program (don't forget to initialize dbus session with osso_init) > > > osso_initialize is not needed if you don't specify X-Osso-Service in > > > the .desktop file. > > > > > > Here's a .desktop file that works properly: > > > > > > [ville~/qtdone]|4> cat qtdone.desktop > > > [Desktop Entry] > > > Encoding=UTF-8 > > > Version=1.0 > > > Type=Application > > > Name=qtdone > > > Exec=/usr/bin/qtdone > > > Icon=qtdone > > > StartupWMClass=qtdone > > > X-Window-Icon=qtdone > > > X-HildonDesk-ShowInToolbar=true > > > X-Osso-Type=application/x-executable > > > Terminal=false > > > > > I have a similar desktop file in my application and it shows up in the > > menu. But I can't place a shortcut/link on the active screen. I would > > like to do it during installation. Also my icon does not show up > > properly. The code is available on http://confmgr.garage.maemo.org/. > > Would be great if someone can point me in the right direction. > > > > > -- > > > Ville M. Vainio @@ Forum Nokia > > > _______________________________________________ > > > maemo-developers mailing list > > > maemo-developers@maemo.org > > > https://lists.maemo.org/mailman/listinfo/maemo-developers > > > > > > > >
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers