From 7c51a9a80b8a39f9b119af880bb36b14aeec5d98 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 5 Oct 1998 21:31:37 +0000 Subject: [PATCH] Title --- Tools/pynche/DetailsViewer.py | 8 ++++---- Tools/pynche/ListViewer.py | 3 +-- Tools/pynche/TextViewer.py | 3 +-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Tools/pynche/DetailsViewer.py b/Tools/pynche/DetailsViewer.py index d0301993b5d..130e18fb3b6 100644 --- a/Tools/pynche/DetailsViewer.py +++ b/Tools/pynche/DetailsViewer.py @@ -54,7 +54,6 @@ Shift + Right == +25 import sys from Tkinter import * -from pynche import __version__ STOP = 'Stop' WRAP = 'Wrap Around' @@ -69,7 +68,7 @@ class DetailsViewer: # GUI root = self.__root = Toplevel(parent, class_='Pynche') root.protocol('WM_DELETE_WINDOW', self.__withdraw) - root.title('Pynche %s' % __version__) + root.title('Pynche Details Window') root.iconname('Pynche Details Window') root.bind('', self.__quit) root.bind('', self.__quit) @@ -89,14 +88,14 @@ class DetailsViewer: self.__l1 = Label(frame, text='Color Ties:') self.__l1.grid(row=0, column=0, columnspan=3, sticky=E) self.__rvar = IntVar() - self.__rvar.set(1) + self.__rvar.set(4) self.__radio1 = Checkbutton(frame, text='Red', variable=self.__rvar, command=self.__effect, onvalue=4, offvalue=0) self.__radio1.grid(row=0, column=3, columnspan=3, sticky=W) self.__gvar = IntVar() - self.__gvar.set(1) + self.__gvar.set(2) self.__radio2 = Checkbutton(frame, text='Green', variable=self.__gvar, command=self.__effect, @@ -111,6 +110,7 @@ class DetailsViewer: self.__radio3.grid(row=2, column=3, columnspan=3, sticky=W) self.__l2 = Label(frame) self.__l2.grid(row=3, column=3, columnspan=3, sticky=W) + self.__effect() # # Boundary behavior self.__l3 = Label(frame, text='At boundary:') diff --git a/Tools/pynche/ListViewer.py b/Tools/pynche/ListViewer.py index 45a3ac563ed..d7d26fc03f4 100644 --- a/Tools/pynche/ListViewer.py +++ b/Tools/pynche/ListViewer.py @@ -17,7 +17,6 @@ given name, without selecting the color. import sys from Tkinter import * -from pynche import __version__ import ColorDB class ListViewer: @@ -28,7 +27,7 @@ class ListViewer: # GUI root = self.__root = Toplevel(parent, class_='Pynche') root.protocol('WM_DELETE_WINDOW', self.__withdraw) - root.title('Pynche %s' % __version__) + root.title('Pynche Color List') root.iconname('Pynche Color List') root.bind('', self.__quit) root.bind('', self.__quit) diff --git a/Tools/pynche/TextViewer.py b/Tools/pynche/TextViewer.py index 0479d8c8dce..3b2bce4def2 100644 --- a/Tools/pynche/TextViewer.py +++ b/Tools/pynche/TextViewer.py @@ -17,7 +17,6 @@ in the text window (which only has a background). import sys from Tkinter import * -from pynche import __version__ import ColorDB class TextViewer: @@ -25,7 +24,7 @@ class TextViewer: self.__sb = switchboard root = self.__root = Toplevel(parent, class_='Pynche') root.protocol('WM_DELETE_WINDOW', self.__withdraw) - root.title('Pynche %s' % __version__) + root.title('Pynche Text Window') root.iconname('Pynche Text Window') root.bind('', self.__quit) root.bind('', self.__quit)