]>
Commit | Line | Data |
---|---|---|
1 | #!/usr/bin/python | |
2 | ||
3 | try: | |
4 | import gi, os | |
5 | except ImportError as err: | |
6 | print (err) | |
7 | os._exit(1) | |
8 | ||
9 | from main import MainWindow | |
10 | ||
11 | gi.require_version("Gtk", "3.0") | |
12 | from gi.repository import Gtk | |
13 | ||
14 | def Main(): | |
15 | path = os.path.dirname(os.path.realpath(__file__)) | |
16 | MainWindow(path) | |
17 | Gtk.main() | |
18 | ||
19 | if __name__ == "__main__": | |
20 | Main() |