rename to remove -i confusion

pull/2/head
Kyle Keen 12 years ago
parent b6b649fe07
commit f83bbfca11
  1. 2
      pacgraph
  2. 9
      pacgraph-tk
  3. 1
      pacgraph-tk.py

@ -942,7 +942,7 @@ def main():
return # after first success
print 'No way to convert SVG to PNG.'
print 'Inkscape, svg2png or imagemagick would be nice.'
print 'Alternatives: "pacgraph-i" or "pacgraph --console".'
print 'Alternatives: "pacgraph-tk" or "pacgraph --console".'
print
console_dump(tree)

@ -1,6 +1,7 @@
#! /usr/bin/env python
dev = False
profiling = False
import Tkinter as tk
from multiprocessing import Process
@ -144,6 +145,8 @@ def sync_place():
# so be lame and don't enable until now
canvas.bind('<Button-4>', motion.zoom_in)
canvas.bind('<Button-5>', motion.zoom_out)
if profiling:
sys.exit()
return
node = tree[name]
center = centers[-1]
@ -216,4 +219,8 @@ def main():
canvas.after(500, sync_place)
root.mainloop()
main()
if not profiling:
main()
else:
import cProfile
cProfile.run('main()', sort=1)

@ -0,0 +1 @@
pacgraph-tk
Loading…
Cancel
Save