rename ravenlog to krowlog

There is a database named RavenDB.
KrowLog starts with a K, which is a) distinctive and b) has an association to KDE.
This commit is contained in:
2022-02-12 10:22:47 +01:00
parent 38e14d6042
commit a640b35c87
62 changed files with 380 additions and 362 deletions

11
main.py
View File

@@ -9,10 +9,11 @@ from PySide6.QtGui import QIcon
import sys
import constants
from raven.pluginregistry import PluginRegistry
from src.pluginregistry import PluginRegistry
import gettext
gettext.install('ravenlog', 'locale')
gettext.install('krowlog', 'locale')
logging.basicConfig(level=logging.INFO)
log = logging.getLogger("main")
@@ -31,12 +32,12 @@ def stop_signal(signum, _stackframe):
if __name__ == "__main__":
app = QApplication(sys.argv)
app.setWindowIcon(QIcon(constants.raven_icon)) # works only for Linux
app.setWindowIcon(QIcon(constants.krow_icon)) # works only for Linux
# make icon appear in Windows
# see https://stackoverflow.com/questions/1551605/how-to-set-applications-taskbar-icon-in-windows-7/1552105#1552105
if sys.platform == 'win32' or sys.platform == 'cygwin':
myappid = 'opentext.ravenlog' # arbitrary string
myappid = 'krowlog' # arbitrary string
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
# workaround to make signals work in QT apps.
@@ -49,7 +50,7 @@ if __name__ == "__main__":
timer.start(100)
# init plugins
PluginRegistry.load_plugin("RavenLogPlugin")
PluginRegistry.load_plugin("KrowLogPlugin")
PluginRegistry.load_plugin("OpenFilePlugin")
PluginRegistry.load_plugin("LogFilePlugin")
PluginRegistry.load_plugin("NotesPlugin")