aboutsummaryrefslogtreecommitdiff
path: root/math/py-gato/files/patch-Gato.py
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-gato/files/patch-Gato.py')
-rw-r--r--math/py-gato/files/patch-Gato.py33
1 files changed, 10 insertions, 23 deletions
diff --git a/math/py-gato/files/patch-Gato.py b/math/py-gato/files/patch-Gato.py
index c9ff38cbbaab..be050b9feeab 100644
--- a/math/py-gato/files/patch-Gato.py
+++ b/math/py-gato/files/patch-Gato.py
@@ -1,17 +1,10 @@
---- Gato.py.orig Wed May 16 13:16:55 2001
-+++ Gato.py Mon Sep 3 12:26:21 2001
-@@ -38,7 +38,6 @@
- import bdb
- import whrandom
- import re
--import regsub
- import string
- import StringIO
- import tokenize
-@@ -49,13 +48,13 @@
+--- Gato.py.dist Thu Dec 18 00:34:01 2003
++++ Gato.py Thu Dec 18 00:35:50 2003
+@@ -54,15 +54,15 @@
+ from tkFileDialog import askopenfilename, asksaveasfilename
+ from tkMessageBox import askokcancel, showerror, askyesno
from ScrolledText import ScrolledText
-
-
+-from GatoConfiguration import GatoConfiguration
-from Graph import Graph
-from GraphUtil import *
-from GraphDisplay import GraphDisplayToplevel
@@ -19,6 +12,8 @@
-from GatoGlobals import *
-from GatoDialogs import AboutBox, SplashScreen, HTMLViewer
-import GatoIcons
+-import GatoSystemConfiguration
++from Gato.GatoConfiguration import GatoConfiguration
+from Gato.Graph import Graph
+from Gato.GraphUtil import *
+from Gato.GraphDisplay import GraphDisplayToplevel
@@ -26,19 +21,11 @@
+from Gato.GatoGlobals import *
+from Gato.GatoDialogs import AboutBox, SplashScreen, HTMLViewer
+from Gato import GatoIcons
++import Gato.GatoSystemConfiguration
# put someplace else
def WMExtrasGeometry(window):
-@@ -67,7 +66,7 @@
-
- NOTE: Does not work with tk8.0 style menus, since those are
- handled by WM (according to Tk8.1 docs) """
-- g = regsub.split(window.geometry(),"+")
-+ g = re.split("\+", window.geometry())
- trueRootx = string.atoi(g[1])
- trueRooty = string.atoi(g[2])
-
-@@ -1159,11 +1158,11 @@
+@@ -1397,11 +1397,11 @@
self.algoGlobals['A'] = self.GUI.graphDisplay
# XXX
# explictely loading packages we want to make available to the algorithm