View Single Post
Posts: 19 | Thanked: 6 times | Joined on Dec 2012
#1
Hi,

Perhaps I'm wrong, but I think I should be able to set schedule on/off for mail account using Dbus

I used Dbus-monitor to grab dbus messages after modifying mail account setting from schedule 'on' to schedule 'off'

here is a piece of code I grab :

Code:
signal sender=:1.911 -> dest=(null destination) serial=6 path=/com/nokia/AccountsLib; interface=com.nokia.AccountsLib; member=AccountChanged
   uint32 286474
   uint32 655060113
   uint32 2
   boolean false
   boolean false
   string "email"
   array [
      struct {
         string "global"
         string "global"
         uint32 0
         array [
            dict entry(
               string "scheduler/schedule_enabled"
               variant                   boolean false
            )
         ]
         array [
         ]
      } 
...
Now I need help, please, to know if there's a way to write a dbus-send command with these arguments to set mail schedule on/off parameter.

My goal is to write a custom action for profilematic

Thanks,
Nemric.