From 63471c5053a6f0e19f3574d197f93be211a1b2f5 Mon Sep 17 00:00:00 2001 From: Cas Cremers Date: Wed, 27 Aug 2008 10:02:20 +0200 Subject: [PATCH] Code cleanup for GUI code. --- gui/Gui/Attackwindow.py | 5 ++--- gui/Gui/Icon.py | 2 ++ gui/Gui/Mainwindow.py | 2 +- gui/Gui/Makeimage.py | 5 ++--- gui/Gui/Preference.py | 3 ++- gui/Gui/Tempfile.py | 4 ++++ 6 files changed, 13 insertions(+), 8 deletions(-) diff --git a/gui/Gui/Attackwindow.py b/gui/Gui/Attackwindow.py index fb24da7..5e222bc 100644 --- a/gui/Gui/Attackwindow.py +++ b/gui/Gui/Attackwindow.py @@ -23,7 +23,6 @@ """ Import externals """ import wx -import time #--------------------------------------------------------------------------- @@ -308,5 +307,5 @@ class AttackWindow(wx.Frame): self.update(True) self.Refresh() - - +#--------------------------------------------------------------------------- +# vim: set ts=4 sw=4 et list lcs=tab\:>-: diff --git a/gui/Gui/Icon.py b/gui/Gui/Icon.py index 76de438..5ff321e 100644 --- a/gui/Gui/Icon.py +++ b/gui/Gui/Icon.py @@ -43,3 +43,5 @@ def ScytherIcon(window): window.SetIcon(icon) +#--------------------------------------------------------------------------- +# vim: set ts=4 sw=4 et list lcs=tab\:>-: diff --git a/gui/Gui/Mainwindow.py b/gui/Gui/Mainwindow.py index 7c1b09e..c3f8fa6 100644 --- a/gui/Gui/Mainwindow.py +++ b/gui/Gui/Mainwindow.py @@ -315,4 +315,4 @@ class MainWindow(wx.Frame): #--------------------------------------------------------------------------- - +# vim: set ts=4 sw=4 et list lcs=tab\:>-: diff --git a/gui/Gui/Makeimage.py b/gui/Gui/Makeimage.py index ba4c174..6ca4b1b 100644 --- a/gui/Gui/Makeimage.py +++ b/gui/Gui/Makeimage.py @@ -25,9 +25,6 @@ import wx import os import sys -import re -import threading -import StringIO #--------------------------------------------------------------------------- @@ -171,3 +168,5 @@ def testImage(): (filename,filetype) = makeImageDot(dotdata) testimage = Image.open(filename) +#--------------------------------------------------------------------------- +# vim: set ts=4 sw=4 et list lcs=tab\:>-: diff --git a/gui/Gui/Preference.py b/gui/Gui/Preference.py index dd5b9bc..ee5c882 100644 --- a/gui/Gui/Preference.py +++ b/gui/Gui/Preference.py @@ -224,4 +224,5 @@ def save(): prefs.save() - +#--------------------------------------------------------------------------- +# vim: set ts=4 sw=4 et list lcs=tab\:>-: diff --git a/gui/Gui/Tempfile.py b/gui/Gui/Tempfile.py index 31f786f..9435e83 100644 --- a/gui/Gui/Tempfile.py +++ b/gui/Gui/Tempfile.py @@ -58,3 +58,7 @@ def tempcleanearly(tuple): tempremove(tuple) atexit.register(cleanupshop) + + +#--------------------------------------------------------------------------- +# vim: set ts=4 sw=4 et list lcs=tab\:>-: