diff --git a/head/debian/changelog b/head/debian/changelog index e0e821d..c78af52 100644 --- a/head/debian/changelog +++ b/head/debian/changelog @@ -1,6 +1,7 @@ offlineimap (3.0.1) unstable; urgency=low * Detabified the source. + * Added UI list to the manpage. -- John Goerzen Fri, 12 Jul 2002 07:28:24 -0500 diff --git a/head/offlineimap.1 b/head/offlineimap.1 index 7a66d86..33322c2 100644 --- a/head/offlineimap.1 +++ b/head/offlineimap.1 @@ -248,6 +248,13 @@ with will be forced to be used, even if its .B isuable() method states that it cannot be. Use this option with care. +.IP +The pre-defined options are +.B Tk.TKUI +(a graphical interface) +and +.B TTY.TTYUI +(a text-mode interface). .\".TP .\".B \-v, \-\-version .\"Show version of program. diff --git a/head/offlineimap/ui/__init__.py b/head/offlineimap/ui/__init__.py index 13cb3c8..2488ab6 100644 --- a/head/offlineimap/ui/__init__.py +++ b/head/offlineimap/ui/__init__.py @@ -17,14 +17,16 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -import TTY, UIBase -availableUIs = {'TTY': TTY, 'UIBase': UIBase} +import UIBase +try: + import TTY +except ImportError: + pass try: import Tkinter except ImportError: pass else: import Tk - availableUIs['Tk'] = Tk import detector diff --git a/head/offlineimap/version.py b/head/offlineimap/version.py index ee67cf3..b6a9639 100644 --- a/head/offlineimap/version.py +++ b/head/offlineimap/version.py @@ -1,5 +1,5 @@ productname = 'OfflineIMAP' -versionstr = "3.0.0" +versionstr = "3.0.1" versionlist = versionstr.split(".") major = versionlist[0]