remove unused imports, copyright date update, tweak
authorJosh Blum <josh@joshknows.com>
Sat, 5 Sep 2009 09:38:46 +0000 (02:38 -0700)
committerJosh Blum <josh@joshknows.com>
Sat, 5 Sep 2009 09:38:46 +0000 (02:38 -0700)
grc/gui/Block.py
grc/gui/Connection.py
grc/gui/Element.py

index fd8cfc226edb0c488de4796e33342204b5a41d08..8c65bf06f104a2dd347856460d347775c813ff9f 100644 (file)
@@ -135,7 +135,7 @@ class Block(Element):
                        layouts.append(layout)
                        w,h = layout.get_pixel_size()
                        self.label_width = max(w, self.label_width)
-                       self.label_height = self.label_height + h + LABEL_SEPARATION
+                       self.label_height += h + LABEL_SEPARATION
                width = self.label_width
                height = self.label_height
                #setup the pixmap
index 45f8a689a923026d33bcdbbdfd04c0a1ffc52850..fabf34ee727c75bdb70320bbc8e9ef91a6732bac 100644 (file)
@@ -1,5 +1,5 @@
 """
-Copyright 2007, 2008 Free Software Foundation, Inc.
+Copyright 2007, 2008, 2009 Free Software Foundation, Inc.
 This file is part of GNU Radio
 
 GNU Radio Companion is free software; you can redistribute it and/or
index 2e20b9a224ed372f784ec6fa7a5734ac22d065d0..f0518ee12ba56883debd666ede1a8e31c12bc8fe 100644 (file)
@@ -1,5 +1,5 @@
 """
-Copyright 2007 Free Software Foundation, Inc.
+Copyright 2007, 2008, 2009 Free Software Foundation, Inc.
 This file is part of GNU Radio
 
 GNU Radio Companion is free software; you can redistribute it and/or
@@ -17,11 +17,9 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
 
-import Colors
 import pygtk
 pygtk.require('2.0')
 import gtk
-import pango
 from Constants import LINE_SELECT_SENSITIVITY
 from Constants import POSSIBLE_ROTATIONS