Application icon and .desktop file

Rearrange modules because of single-version-externally-managed
This commit is contained in:
BasioMeusPuga
2018-03-23 00:58:42 +05:30
parent 42b655862c
commit 7931f92335
139 changed files with 5844 additions and 5483 deletions

View File

@@ -27,8 +27,7 @@ from PyQt5 import QtWidgets, QtCore
from lector import database
from lector.models import MostExcellentFileSystemModel
from lector.threaded import BackGroundBookSearch, BackGroundBookAddition
from resources import settingswindow
from lector.resources import settingswindow
class SettingsUI(QtWidgets.QDialog, settingswindow.Ui_Dialog):
@@ -46,7 +45,7 @@ class SettingsUI(QtWidgets.QDialog, settingswindow.Ui_Dialog):
self.aboutBox.setVisible(False)
install_dir = os.path.realpath(__file__)
install_dir = pathlib.Path(install_dir).parents[1]
aboutfile_path = os.path.join(install_dir, 'resources', 'about.html')
aboutfile_path = os.path.join(install_dir, 'lector', 'resources', 'about.html')
with open(aboutfile_path) as about_html:
self.aboutBox.setHtml(about_html.read())