mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-12 17:02:36 +12:00
Update
This commit is contained in:
parent
c20ee8d07a
commit
355f02afd5
24
test_io.py
24
test_io.py
|
@ -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()
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue