diff options
author | bionel <ionel.busuioc@gmail.com> | 2018-04-07 12:07:34 +0300 |
---|---|---|
committer | bionel <ionel.busuioc@gmail.com> | 2018-04-07 12:07:34 +0300 |
commit | e243a10dd9173959cb5271f15170b208bd002ca8 (patch) | |
tree | 8b0812ef08ca5daf318f5c5f0ccd0a87bd6ec2a2 /src/frontend | |
parent | 2ab1186a049626c97544c6840eb1f3c1333b2fa5 (diff) |
quickfix: use full path for ui files, hardcoded for now
Diffstat (limited to 'src/frontend')
-rwxr-xr-x | src/frontend/gui/sisyphus-gui.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index 2b4344f..08bb7c7 100755 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -13,7 +13,7 @@ from libsisyphus import * class Sisyphus(QtWidgets.QMainWindow): def __init__(self): super(Sisyphus, self).__init__() - uic.loadUi('ui/sisyphus.ui', self) + uic.loadUi('/usr/share/sisyphus/ui/sisyphus.ui', self) self.centerOnScreen() self.show() @@ -306,7 +306,7 @@ class Sisyphus(QtWidgets.QMainWindow): class MirrorConfiguration(QtWidgets.QMainWindow): def __init__(self): super(MirrorConfiguration, self).__init__() - uic.loadUi('ui/mirrorcfg.ui', self) + uic.loadUi('/usr/share/sisyphus/ui/mirrorcfg.ui', self) self.centerOnScreen() self.MIRRORLIST = getMirrors() self.updateMirrorList() @@ -347,7 +347,7 @@ class MirrorConfiguration(QtWidgets.QMainWindow): class LicenseInformation(QtWidgets.QMainWindow): def __init__(self): super(LicenseInformation, self).__init__() - uic.loadUi('ui/license.ui', self) + uic.loadUi('/usr/share/sisyphus/ui/license.ui', self) self.centerOnScreen() def centerOnScreen(self): |