View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#19
Originally Posted by Venemo View Post
Right.
I don't want my widget to appear in Desktop menu / Add widget, instad I want my app to dynamically create them with a push of a button from the app.
With that requirement, you're not going to solve "The only issue with it is that it disappears after reboot." any time soon.

Hildon Home will only save the positions of those widgets etc. in GConf if it has been added from that menu, AFAIK.

That said, you could make a widget that shows up in Add Widget and keeps track of the other dynamically added widgets. That way, when that widget is loaded, presumably on bootup, it'll load your other widgets.

I believe earlier versions of krk969's battery level applet placed an Upstart job definition in /etc/event.d so that the widget would be placed on the desktop after rebooting (this was before the Qt loader for Hildon Desktop).
 

The Following User Says Thank You to qwerty12 For This Useful Post: