Author: duncan
Date: Mon Jan 29 21:23:12 2007
New Revision: 9090
Modified:
branches/rel-1/freevo/src/plugins/idlebar/encoding.py
Log:
[ 1645456 ] Skin error when starting freevo
When the level=0 this causes a crash, the level has no effect for a daemon
plugin
so it has been removed
Modified: branches/rel-1/freevo/src/plugins/idlebar/encoding.py
==============================================================================
--- branches/rel-1/freevo/src/plugins/idlebar/encoding.py (original)
+++ branches/rel-1/freevo/src/plugins/idlebar/encoding.py Mon Jan 29
21:23:12 2007
@@ -51,15 +51,17 @@
return (status, response)
+#class PluginInterface(IdleBarPlugin):
class PluginInterface(plugin.DaemonPlugin):
"""
This plugin shows the current encoding status
Activate with:
- plugin.activate('idlebar.encoding', level=0)
+ plugin.activate('idlebar.encoding')
"""
def __init__(self):
_debug_('__init__(self)', 2)
plugin.DaemonPlugin.__init__(self)
+ #IdleBarPlugin.__init__(self)
self.poll_interval = 10 # 1/10th seconds (30secs)
self.draw_interval = self.poll_interval
self.last_interval = self.poll_interval
@@ -224,6 +226,9 @@
if self.idlebar_max - self.idlebar.free_space < 280:
_debug_('free space in idlebar to small, using normal
detach')
self.idlebar = None
+ else:
+ # this doesn't work, but needs to for the detachbar
+ self.idlebar.free_space -= 280
#turn off idlebar for testing
#self.idlebar = None
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog