This commit is contained in:
TheShadowOfHassen 2023-06-17 08:44:46 -04:00
parent c20ee8d07a
commit 355f02afd5
2 changed files with 1 additions and 25 deletions

View file

@ -1,24 +0,0 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# I put this here because otherwise I couldn't run it.
# I also added some tests and had to modify this to get it to run -- ShadowOfHassen
import os
import sys
# gi
import gi
gi.require_version('GdkPixbuf', '2.0')
from gi.repository import GdkPixbuf
realpath = os.path.realpath(__file__)
LOGO_FILE = 'icons/Manuskript/manuskript.svg'
#sys.path.insert(1, os.path.join(os.path.dirname(realpath), '..'))
from manuskript.ui import MainWindow
window = MainWindow("sample-projects/book-of-acts" + ".msk")
# Let's make this a bit fancier
window.window.set_icon(GdkPixbuf.Pixbuf.new_from_file(LOGO_FILE))
window.run()

View file

@ -31,7 +31,7 @@ along with Manuskript. If not, see <http://www.gnu.org/licenses/>.
<property name="window-position">center-on-parent</property>
<property name="type-hint">dialog</property>
<property name="program-name">Manuskript</property>
<property name="version">Gtk Working Version (Last Version 0.14.0)</property>
<property name="version">Gtk Working Version (Last Version 0.15.0)</property>
<property name="copyright" translatable="yes">Copyright © 2015-2021 Olivier Keshavjee et al.</property>
<property name="comments" translatable="yes">This is a Gtk Version Still In Development</property>
<property name="website">https://www.theologeek.ch/manuskript/</property>