diff options
Diffstat (limited to 'use-source-file-path-to-asset.patch')
-rw-r--r-- | use-source-file-path-to-asset.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/use-source-file-path-to-asset.patch b/use-source-file-path-to-asset.patch new file mode 100644 index 000000000000..c4b768df0749 --- /dev/null +++ b/use-source-file-path-to-asset.patch @@ -0,0 +1,9 @@ +2a3 +> import os +8,9c9,11 +< _GLADE_FILE = "assets/UI.glade" +< _STYLE_FILE = "assets/UI.css" +--- +> dir_path = os.path.dirname(os.path.realpath(__file__)) +> _GLADE_FILE = dir_path + "/../assets/UI.glade" +> _STYLE_FILE = dir_path + "/../assets/UI.css" |