changeset: 2693:57f93bf4e7a3
branch: 3.9
user: Kris Maglione <kris_AT_suckless.org>
date: Wed Jun 02 17:40:17 2010 -0400
files: alternative_wmiircs/python/wmiirc.py
description:
[python] Reload program list in backgound thread at startup.
diff -r 32085c6381c6 -r 57f93bf4e7a3 alternative_wmiircs/python/wmiirc.py
--- a/alternative_wmiircs/python/wmiirc.py Wed Jun 02 17:38:15 2010 -0400
+++ b/alternative_wmiircs/python/wmiirc.py Wed Jun 02 17:40:17 2010 -0400
@@ -292,7 +292,7 @@
addresize('Control-', 'Shrink', 'grow', '-1')
addresize('Shift-', 'Nudge', 'nudge')
-Actions.rehash()
+Thread(target=lambda: Actions.rehash()).start()
if not os.environ.get('WMII_NOPLUGINS', ''):
dirs = filter(curry(os.access, _, os.R_OK),
Received on Thu Jun 03 2010 - 14:57:52 UTC
This archive was generated by hypermail 2.2.0 : Thu Jun 03 2010 - 15:00:09 UTC