teberle / pida

No description has been added.

Clone this repository (size: 3.3 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/teberle/pida/

Changed (Δ119 bytes):

raw changeset »

pida/services/plugins/plugins.py (4 lines added, 3 lines removed)

Up to file-list pida/services/plugins/plugins.py:

@@ -520,8 +520,8 @@ class Plugins(Service):
520
520
            plugin_item = self.read_plugin_informations(
521
521
                    servicefile=service_file)
522
522
            installed_list.append(plugin_item)
523
524
        self._view.start_pulse(_('Download available plugins'))
523
        #XXX: DAMMIT this is in a worker thread ?!?!
524
        gcall(self._view.start_pulse, _('Download available plugins'))
525
525
        try:
526
526
            proxy = xmlrpclib.ServerProxy(self.rpc_url,
527
527
                                          transport=create_transport())
@@ -542,7 +542,8 @@ class Plugins(Service):
542
542
    def download(self, item):
543
543
        if not item.url or item.url == '':
544
544
            return
545
        self._view.start_pulse(_('Download %s') % item.name)
545
        #XXX: DAMMIT this is in a worker thread ?!?!
546
        gcall(self._view.start_pulse, _('Download %s') % item.name)
546
547
        def download_complete(url, content):
547
548
            self._view.stop_pulse()
548
549
            if content: