adding a callable facade pygdb
[pygdb.git] / MainControlWindow.py
old mode 100755 (executable)
new mode 100644 (file)
index 42f8285..0a24f4c
@@ -120,21 +120,3 @@ class MainControlWindow (gtk.Window):
                        cb(pos)
 
 
-
-
-if __name__ == "__main__":
-
-
-       import StatusWindow
-
-
-       clientCmd = string.join(sys.argv[1:])
-       dbgterm = GdbTerminal.GdbTerminal(clientCmd)
-       mainCtrlWnd = MainControlWindow(dbgterm)
-
-       statusWnd = StatusWindow.StatusWindow(mainCtrlWnd, dbgterm)
-       mainCtrlWnd.newPosCbs += [statusWnd.updateValues]
-
-       gtk.main()
-
-