| commit 1688: | 48c759811780 |
| parent 1687: | f96a349b60cb |
| branch: | default |
| tags: | tip |
hackup fix for plugin worker thread ui usage
- View RonnyPfannschmidt's profile
-
RonnyPfannschmidt's public repos »
- pida-patches
- vimish
- virtualenvmanager
- py-virtualenv
- pida-hacks
- distribute-0.6
- distribute-resources
- pytest-codecheckers
- py-execnet3k
- gexcept
- glashammer-main
- flatland-htmlwidgets
- django-vcstorage-new-anyvc
- hgpaste
- chrome-markman
- apipkg
- kij
- gtkarchitect-main
- gazpacho
- plugpost
- rope-qickfix
- pyscope
- anyvc
- prolog
- Send message
16 months ago
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 |
|
|
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: |
