mirror of
https://github.com/gryf/pygtktalog.git
synced 2025-12-17 11:30:19 +01:00
* Removed unnecessary gtk import inside program.
This commit is contained in:
@@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
def setup_path():
|
def setup_path():
|
||||||
"""Sets up the python include paths to include src"""
|
"""Sets up the python include paths to include src"""
|
||||||
import os.path; import sys
|
import os.path
|
||||||
|
import sys
|
||||||
|
|
||||||
if sys.argv[0]:
|
if sys.argv[0]:
|
||||||
top_dir = os.path.dirname(os.path.abspath(sys.argv[0]))
|
top_dir = os.path.dirname(os.path.abspath(sys.argv[0]))
|
||||||
@@ -70,7 +71,6 @@ if __name__ == "__main__":
|
|||||||
c = MainController(m)
|
c = MainController(m)
|
||||||
v = MainView(c)
|
v = MainView(c)
|
||||||
|
|
||||||
import gtk
|
|
||||||
try:
|
try:
|
||||||
gtk.main()
|
gtk.main()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|||||||
Reference in New Issue
Block a user