Update of /cvsroot/freevo/freevo/src/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv8458
Modified Files:
idlebar.py
Log Message:
redraw when polling
Index: idlebar.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/idlebar.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** idlebar.py 12 Jul 2003 17:17:27 -0000 1.19
--- idlebar.py 12 Jul 2003 17:29:58 -0000 1.20
***************
*** 23,26 ****
--- 23,29 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.20 2003/07/12 17:29:58 dischi
+ # redraw when polling
+ #
# Revision 1.19 2003/07/12 17:17:27 dischi
# moved idlebar to a skin plugin
***************
*** 119,122 ****
--- 122,126 ----
import string
import mailbox
+ import skin
import plugin
***************
*** 140,144 ****
if not self.plugins:
self.plugins = plugin.get('idlebar')
! x = osd.x
for p in self.plugins:
add_x = p.draw((type, object), x, osd)
--- 144,148 ----
if not self.plugins:
self.plugins = plugin.get('idlebar')
! x = osd.x + 10
for p in self.plugins:
add_x = p.draw((type, object), x, osd)
***************
*** 148,154 ****
def poll(self):
! # XXX This probably shouldn't be None,None, but at least it doesn't crash
! # self.draw((None,None))
! pass
class IdleBarPlugin(plugin.Plugin):
--- 152,157 ----
def poll(self):
! skin.get_singleton().redraw()
!
class IdleBarPlugin(plugin.Plugin):
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog