summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/new_version.xml4
-rw-r--r--portato/plugins/new_version.py4
2 files changed, 7 insertions, 1 deletions
diff --git a/plugins/new_version.xml b/plugins/new_version.xml
index 7bf9947..6d300dd 100644
--- a/plugins/new_version.xml
+++ b/plugins/new_version.xml
@@ -10,4 +10,8 @@
<hook type="after_startup" call="find_version" />
</hooks>
+ <menu>
+ <item call="find_version">Check for new _versions</item>
+ </menu>
+
</plugin>
diff --git a/portato/plugins/new_version.py b/portato/plugins/new_version.py
index d06d58d..988b173 100644
--- a/portato/plugins/new_version.py
+++ b/portato/plugins/new_version.py
@@ -26,4 +26,6 @@ def find_version (*args, **kwargs):
rev = v[-1]
plugin.load_plugins() # to have lp: addresses parsed
- Thread(target = find_thread, args=(rev,)).start()
+ t = Thread(target = find_thread, args=(rev,))
+ t.setDaemon(True)
+ t.start()