View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#2
You can set the key from the postinst script using gconftool:

Code:
#!/bin/sh

/usr/bin/aegis-exec -s -u user /usr/bin/gconftool -s --type=string /meegotouch/theme/name <name>
exit 0
If you want users to be able to disable your theme without uninstalling it, then the best way is to use a control panel applet. All you need is a .desktop file (this provides the name that is visible in the settings) and an XML file that describes the GConf keys and the widgets used to change them. Documentation for that is at http://harmattan-dev.nokia.com/docs/...and_GConf.html
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub

Last edited by marxian; 2011-12-19 at 14:34. Reason: I should finish my coffee before posting :o
 

The Following 4 Users Say Thank You to marxian For This Useful Post: