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