Author: duncan
Date: Fri Jan 5 22:49:37 2007
New Revision: 8935
Modified:
branches/rel-1/freevo/src/plugins/idlebar/__init__.py
Log:
Initialised free_space
Changed some white space
Modified: branches/rel-1/freevo/src/plugins/idlebar/__init__.py
==============================================================================
--- branches/rel-1/freevo/src/plugins/idlebar/__init__.py (original)
+++ branches/rel-1/freevo/src/plugins/idlebar/__init__.py Fri Jan 5
22:49:37 2007
@@ -45,11 +45,10 @@
import config
import plugin
import skin
+from pygame import image,transform
-from pygame import image,transform
-
class PluginInterface(plugin.DaemonPlugin):
"""
global idlebar plugin.
@@ -66,6 +65,7 @@
self.visible = True
self.bar = None
self.barfile = ''
+ self.free_space = -1
# Getting current LOCALE
try:
@@ -124,7 +124,6 @@
-
class IdleBarPlugin(plugin.Plugin):
"""
To activate the idle bar, put the following in your local_conf.py:
@@ -142,6 +141,7 @@
return
+
class clock(IdleBarPlugin):
"""
Shows the current time.
@@ -196,6 +196,3 @@
else:
image = os.path.join(config.IMAGE_DIR, self.image)
return osd.drawimage(image, (x, osd.y + 5, -1, 75))[0]
-
-
-
-------------------------------------------------------------------------
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