mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-11 16:32:28 +12:00
Delete test_io.py
This commit is contained in:
parent
c2828a03b9
commit
dbfafbdf06
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()
|
Loading…
Reference in a new issue