Re: DBus interface for state of Reading mode?
Rob Caelers <[email protected]> Thu, 02 Aug 2012 10:34:02 +0200
| Newsgroups | gmane.comp.misc.workrave.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, > Had I missed something? Is reading state of Reading mode through DBus > possible? How can I do that? It seems I forgot to add the 'usage mode' (as it is called internally) to the CoreInterface.. It will be in the next version :-) for now you could use the the GetInt method of org.workrave.ConfigInterface to read the value of the "general/usage-mode" settings. 0 = normal, 1 = reading. Groetjes, Rob ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/