From 1615e7ffa0f7138f2d54ff18fb8b173b31a30824 Mon Sep 17 00:00:00 2001 From: Persian Prince Date: Mon, 5 Aug 2019 20:45:04 +0430 Subject: [PATCH] Remove superfluous usage of skin_default in image paths, don't hardcode these kind of things. --- plugin/pklmanager.py | 10 +++++----- plugin/ui.py | 26 +++++++++++++------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/plugin/pklmanager.py b/plugin/pklmanager.py index 32a82ad..f450a78 100644 --- a/plugin/pklmanager.py +++ b/plugin/pklmanager.py @@ -33,16 +33,16 @@ class pklMovieManager(Screen): skin = """ - - - - + + + + - + """ diff --git a/plugin/ui.py b/plugin/ui.py index 2c31ad9..459347f 100644 --- a/plugin/ui.py +++ b/plugin/ui.py @@ -120,17 +120,17 @@ def __init__(self, session): class MovieManager(Screen, HelpableScreen): skin=""" - - - - + + + + - + - + RecordServiceName @@ -141,7 +141,7 @@ class MovieManager(Screen, HelpableScreen): StartTime Format:%a %d.%m.%Y, %H:%M - + @@ -803,7 +803,7 @@ def getLastPlayedPosition(self, item): return "" def changePng(self): - path = resolveFilename(SCOPE_CURRENT_SKIN, "skin_default/icons/mark_select.png") + path = resolveFilename(SCOPE_CURRENT_SKIN, "icons/mark_select.png") if os.path.exists(path): import Components.SelectionList self.original_selectionpng = Components.SelectionList.selectionpng @@ -1233,16 +1233,16 @@ def exit(self): class MovieManagerClearBookmarks(Screen, HelpableScreen): skin=""" - - - - + + + + - + """