Hi,
When I started to use the idlebar.encoding plugin, the plugin was
displayed at the bottom left of the screen.
Since, it is displayed in the middle top of the screen, somewhat
overlapping other informations.
After some look in the plugin, it seems that this behavior is expected
when no background image in set behind the plugin.
As a test, I did the modification in the patch file (not to use in the
wild, I think), and removing the test about self.image, the
idlebar.plugin is back at the good place (I think !)
But I don't see how I can set a value for the background image (apart
hacking the code, witch is bad).
Any ideas ?
Thanks,
--
Pascal Schirrmann
--- /home/freevo/svn/freevo/src/plugins/idlebar/encoding.py 2007-02-01
20:29:50.000000000 +0100
+++ encoding.py 2007-02-03 16:45:08.000000000 +0100
@@ -270,14 +270,14 @@
self.ty = self.by + self.boxborder + self.padding
if self.idlebar:
- if self.image:
+ # if self.image:
self.bx = self.idlebar.free_space + 250 + 70
- else:
- self.bx = self.idlebar.free_space + 250
- self.by = osd.y
- self.tx = self.bx + self.boxborder + self.padding
- self.ty = self.by + self.boxborder + self.padding
- self.textw = min(self.textw, self.idlebar_max - self.bx - 30)
+ # else:
+ # self.bx = self.idlebar.free_space + 250
+ # self.by = osd.y
+ # self.tx = self.bx + self.boxborder + self.padding
+ # self.ty = self.by + self.boxborder + self.padding
+ # self.textw = min(self.textw, self.idlebar_max - self.bx - 30)
def draw(self, (type, object), osd):
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel