Some tweaks to dialog design

This commit is contained in:
Veronica K. B. Olsen
2019-06-15 23:10:15 +02:00
parent 21b7e882ac
commit f80e9cf94a
8 changed files with 72 additions and 116 deletions
+7 -3
View File
@@ -14,9 +14,11 @@ import logging
import configparser
import nw
from os import path, mkdir, getcwd
from appdirs import user_config_dir
from datetime import datetime
from os import path, mkdir, getcwd
from appdirs import user_config_dir
from datetime import datetime
from nw.constants import nwFiles
logger = logging.getLogger(__name__)
@@ -43,6 +45,7 @@ class Config:
self.homePath = None
self.appPath = None
self.appRoot = None
self.appIcon = None
self.guiPath = None
self.themeRoot = None
self.themePath = None
@@ -111,6 +114,7 @@ class Config:
self.guiPath = path.join(self.appPath,"gui")
self.themeRoot = path.join(self.appPath,"themes")
self.themePath = path.join(self.themeRoot)
self.appIcon = path.join(self.appRoot, nwFiles.APP_ICON)
# If config folder does not exist, make it.
# This assumes that the os config folder itself exists.