dconf values
Hi all,
I've been tinkering again, this time I used some code shown to me by john_god. The code pertains to Settings. Code:
import Nemo.Configuration 1.0 I completely removed all traces of "/apps/harbour-yourApp" via dconf thinking that the new path I set would accommodate Settings. Upon using 'dconf list /' I can find the path for my new Settings but they do not change and the positions of my draggable rectangles won't stay where they are dragged to....? Any ideas? |
Re: dconf values
Okay, my own fault, it just took a while to work out what happened.
Basically I was expecting Settings to handle 2 lots of settings; it seems that the 'settings' for landscape cancels out 'settings' for portrait when neither is specified as separate settings. I need to declare (perhaps with 'id') what gets set as drag settings in portrait and likewise with landscape. For those wondering what I'm attempting to achieve, it is a draggable clock, date, weather and calendar for lockscreen, each of the mentioned items sits in/on an invisible rectangle with drag boundaries set (screen edges) in portrait and landscape. In order to make this work, I basically hid the lockscreen Clock contents (time & date) and replaced with 2 files; PortraitPage.qml and LandscapePage.qml and filled both with contents of clock, date, weather and calendar, so there are 2 sets of each item; 2 clock, 2 date, 2 weather and 2 calendar (1 of each item for both Pages) but expecting Settings to handle both Portrait and Landscape without defining each set of Settings - hope that makes sense. After investigating again, I tried hiding PortraitPage & LandscapePage and unhiding Clock.qml - then all my settings worked again, even surviving reboot or shutdown <----- a key factor I forgot to mention in my original question, my settings were working until the device was rebooted or restarted. *sigh* Solved! |
All times are GMT. The time now is 06:54. |
vBulletin® Version 3.8.8