The branch, dharma has been updated
via fec565d8f7ef245d0badf777fa86ac9d956786c1 (commit)
from eccf8c637cd6c8bacc492c1f2e8aa19597e3f522 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=fec565d8f7ef245d0badf777fa86ac9d956786c1
commit fec565d8f7ef245d0badf777fa86ac9d956786c1
Author: amet <[email protected]>
Date: Thu Jan 13 15:22:29 2011 +0400
[script.qlock] -v0.0.6
- added: German layout, thanks donabi
- added: fix for german layout at one o'clock
diff --git a/script.qlock/addon.xml b/script.qlock/addon.xml
index 7e7339e..3d76e70 100644
--- a/script.qlock/addon.xml
+++ b/script.qlock/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.qlock"
name="Qlock"
- version="0.0.5"
+ version="0.0.6"
provider-name="Amet">
<requires>
<import addon="xbmc.python" version="1.0"/>
diff --git a/script.qlock/changelog.txt b/script.qlock/changelog.txt
index 67cfe23..aecdf26 100644
--- a/script.qlock/changelog.txt
+++ b/script.qlock/changelog.txt
@@ -1,3 +1,7 @@
+0.0.6
+- added: German layout, thanks donabi
+- added: fix for german layout at one o'clock
+
0.0.5
- added: French layout, thanks to humferier
- added: changelog.txt
diff --git a/script.qlock/default.py b/script.qlock/default.py
index af40365..4dc3973 100644
--- a/script.qlock/default.py
+++ b/script.qlock/default.py
@@ -110,7 +110,10 @@ class Main:
if hour == "h00":
hour = "h12"
- highlight = times[0].getAttribute(minute).split(",") +
times[0].getAttribute("all").split(",") + times[0].getAttribute(hour).split(",")
+ if xbmc.getLanguage() == "German" and hour == "h01" and minute == "m00":
# German only, at one o'clock
+ highlight = ["1","2","4","5","6","45","46","47","108","109","110"]
+ else:
+ highlight = times[0].getAttribute(minute).split(",") +
times[0].getAttribute("all").split(",") + times[0].getAttribute(hour).split(",")
for l in highlight:
self.WINDOW.setProperty( "Qlock.%s.Highlight" % l.replace(" ",""),
self.background[int(l)-1] )
-----------------------------------------------------------------------
Summary of changes:
script.qlock/addon.xml | 2 +-
script.qlock/changelog.txt | 4 ++
script.qlock/default.py | 5 ++-
script.qlock/resources/layout/German/layout.xml | 36 +++++++++++++++++++++++
4 files changed, 45 insertions(+), 2 deletions(-)
create mode 100644 script.qlock/resources/layout/German/layout.xml
hooks/post-receive
--
Scripts
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons