Slightly corrected about view
authorEugene Gagarin <mosfet07@ya.ru>
Sun, 22 Mar 2009 10:16:21 +0000 (13:16 +0300)
committerEugene Gagarin <mosfet07@ya.ru>
Sun, 22 Mar 2009 10:16:21 +0000 (13:16 +0300)
src/mvc/views/about.py

index ee77d78..d9e47bd 100755 (executable)
@@ -8,8 +8,7 @@ class AboutView(View):
     def __init__(self, ctrl):
         View.__init__(self, ctrl, register=False)
 
-        dialog = gtk.AboutDialog()
-        self['dialog_about'] = dialog
+        self['dialog_about'] = gtk.AboutDialog()
         ctrl.register_view(self)
 
         return