From 5cf5684feba9a9589db4d54b493ac1919d159f13 Mon Sep 17 00:00:00 2001 From: jgoerzen Date: Thu, 11 Jul 2002 06:38:14 +0100 Subject: [PATCH] /head: changeset 95 Added copyright notice --- head/offlineimap/ui/TTY.py | 18 ++++++++++++++++++ head/offlineimap/ui/Tk.py | 18 ++++++++++++++++++ head/offlineimap/ui/__init__.py | 8 +++++++- 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 head/offlineimap/ui/Tk.py diff --git a/head/offlineimap/ui/TTY.py b/head/offlineimap/ui/TTY.py index 04b568a..96c17eb 100644 --- a/head/offlineimap/ui/TTY.py +++ b/head/offlineimap/ui/TTY.py @@ -1,3 +1,21 @@ +# TTY UI +# Copyright (C) 2002 John Goerzen +# +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + from UIBase import UIBase from getpass import getpass import select, sys diff --git a/head/offlineimap/ui/Tk.py b/head/offlineimap/ui/Tk.py new file mode 100644 index 0000000..cab4f43 --- /dev/null +++ b/head/offlineimap/ui/Tk.py @@ -0,0 +1,18 @@ +# Tk UI +# Copyright (C) 2002 John Goerzen +# +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + diff --git a/head/offlineimap/ui/__init__.py b/head/offlineimap/ui/__init__.py index d9a9eeb..1427671 100644 --- a/head/offlineimap/ui/__init__.py +++ b/head/offlineimap/ui/__init__.py @@ -1 +1,7 @@ -import TTY +import TTY, UIBase +try: + import Tkinter + import Tk +except ImportError: + pass +