From e21133b6e35f05b2d1f30c577badd148eacc1bad Mon Sep 17 00:00:00 2001 From: Marchella1983 Date: Mon, 23 Jun 2025 10:22:08 +0300 Subject: [PATCH] Update plugin.py Tnx MrServo https://github.com/oe-alliance/oe-alliance-plugins/commit/8aaca0dd689a635b2131d36026c7d13ef45ba700 --- lcd4linux/src/plugin.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lcd4linux/src/plugin.py b/lcd4linux/src/plugin.py index 4b087fc..caf4312 100644 --- a/lcd4linux/src/plugin.py +++ b/lcd4linux/src/plugin.py @@ -186,7 +186,7 @@ LCD4bin = "%s/" % eEnv.resolve("${bindir}") # /usr/bin/ LCD4python = "%s/" % eEnv.resolve("${PYTHONPATH}") # /usr/lib/enigma2/python/ LCD4share = "%s/" % eEnv.resolve("${datarootdir}") # /usr/share/ -LCD4picon = join(LCD4share, "senigma2/picon/") # /usr/share/enigma2/picon/ +LCD4picon = join(LCD4share, "enigma2/picon/") # /usr/share/enigma2/picon/ LCD4fonts = resolveFilename(SCOPE_FONTS) # /usr/share/fonts/ LCD4config = join(LCD4enigma2config, "lcd4config") # /etc/enigma2/lcd4config LCD4plugin = join(LCD4enigma2plugin, "Extensions/LCD4linux/") # /usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/ @@ -13218,7 +13218,10 @@ def putDev(workaround, draw, im): self.draw[draw].rectangle((lx + 8, ly + B1pixel, lx + 14, ly + B1pixel + B2pixel), outline=LCD4linux.DevBackColor.value, fill=LCD4linux.DevBackColor.value) else: self.draw[draw].rectangle((lx + 8, ly, lx + 18, ly + Fpixel), outline=LCD4linux.DevBackColor.value, fill=LCD4linux.DevBackColor.value) - lx += w + 20 if ConfigType == "0" else 2 * h + 3 + if ConfigType == "0": + lx += w + 20 + else: + ly += 2 * h + 3 else: L4log("remove Device", l) DeviceRemove.append(l)