From 5e89f2126bd6f6ad3c5c042b4e1bd04ec7ecd079 Mon Sep 17 00:00:00 2001 From: Gra Date: Fri, 24 Apr 2009 15:00:30 +0200 Subject: [PATCH] Reworked text of 'about' screen (79 cols). --- supportscreen.py | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/supportscreen.py b/supportscreen.py index e256c53..16f11fb 100644 --- a/supportscreen.py +++ b/supportscreen.py @@ -172,24 +172,32 @@ class AboutDialog(mytkSimpleDialog.Dialog): self.t['font'] = 'arial 10' self.t.pack() self.t.tag_configure("href", foreground='blue', underline=1) - self.t.tag_configure("h1", foreground='black', underline=1, font=('Arial', 16, 'bold')) - self.t.tag_configure("h2", foreground='black', underline=0, font=('Arial', 14, 'bold')) - self.t.tag_configure("h3", foreground='#33CCCC', underline=0, font=('Arial', 10, 'bold')) - self.t.tag_configure("emph", foreground='black', underline=0, font=('Arial', 10, 'italic')) + self.t.tag_configure("h1", foreground='black', underline=1, + font=('Arial', 16, 'bold')) + self.t.tag_configure("h2", foreground='black', underline=0, + font=('Arial', 14, 'bold')) + self.t.tag_configure("h3", foreground='#33CCCC', underline=0, + font=('Arial', 10, 'bold')) + self.t.tag_configure("emph", foreground='black', underline=0, + font=('Arial', 10, 'italic')) self.t.tag_bind("href", "", self.openHREF) self.t.tag_bind("href", "", self.show_hand_cursor) self.t.tag_bind("href", "", self.show_arrow_cursor) self.t.config(cursor="arrow", bg="white", wrap=WORD) self.t.insert(END, "PyKeylogger - Simple Python Keylogger", "h1") self.t.insert(END, "\nVersion " + version.version + "\n") - self.t.insert(END," by " + version.author + " <" + version.author_email + ">", "emph") + self.t.insert(END, + " by " + version.author + " <" + version.author_email + ">", + "emph") self.t.insert(END, "\n\nLicense: " + version.license + ", ") self.t.insert(END, "http://www.gnu.org/copyleft/gpl.html", "href") self.t.insert(END, "\n\nProject site: ") self.t.insert(END, version.url, "href") self.t.insert(END, "\n\nContributors", "h2") self.t.insert(END, "\n\nTim Alexander ", "h3") - self.t.insert(END, "\nThe initial implementation of event hooking and image capture on click under GNU/Linux, using the python-xlib library.") + self.t.insert(END, + "\nThe initial implementation of event hooking and image capture " + "on click under GNU/Linux, using the python-xlib library.") self.t.insert(END, "\n\nSupporting Libraries:", "h2") self.t.insert(END, "\n\nPython, ") self.t.insert(END, "http://www.python.org", "href") @@ -198,14 +206,17 @@ class AboutDialog(mytkSimpleDialog.Dialog): self.t.insert(END, "\npy2exe, ") self.t.insert(END, "http://www.py2exe.org/", "href") self.t.insert(END, "\nConfigObj, ") - self.t.insert(END, "http://www.voidspace.org.uk/python/configobj.html", "href") + self.t.insert(END, + "http://www.voidspace.org.uk/python/configobj.html", "href") self.t.insert(END, "\nPyHook, ") self.t.insert(END, "http://sourceforge.net/projects/uncassist", "href") self.t.insert(END, "\nPython for Windows Extensions (PyWin32), ") self.t.insert(END, "http://sourceforge.net/projects/pywin32/", "href") self.t.insert(END, "\npython-xlib, ") self.t.insert(END, "http://python-xlib.sourceforge.net/", "href") - self.t.insert(END, "\n\nA big thank you goes out to all of the people behind these numerous software packages that make PyKeylogger possible!") + self.t.insert(END, + "\n\nA big thank you goes out to all of the people behind these " + "numerous software packages that make PyKeylogger possible!") self.t.config(state=DISABLED) -- 2.45.1