On 11 March 2010 11:02, ledzgio <[email protected]> wrote:
> Ok but doing that my plugin will have problem if the user doesn't turn
> Classic Mode off.
>
> Do you have any example about UiClient1.2 implementation? or could you
> please explain me how to get it works?
>
> thanks
>
> On Mar 10, 10:22 pm, Andrew Resch <[email protected]> wrote:
> > On Wed, Mar 10, 2010 at 8:24 AM, ledzgio <[email protected]>
> wrote:
> > > Ok but deluged must be running..and (if i am right), it is not running
> > > by default...is it right?
> >
> > > thanks
> >
> > Yes, that is correct. You should turn Classic Mode off in the GTKui.
>
> --
>
>
Surely using deluge.ui.coreconfig.CoreConfig would be the best solution?
from twisted.internet import reactor
from deluge.ui.client import client
from deluge.ui.coreconfig import CoreConfig
config = CoreConfig()
def print_download_location():
download_location = config.get("download_location")
print download_location
if client.connected():
config.start()
reactor.callLater(2, print_download_location)
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.