summaryrefslogtreecommitdiff
path: root/grc/gui
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2009-09-05 02:38:46 -0700
committerJosh Blum <josh@joshknows.com>2009-09-05 02:38:46 -0700
commitcaf93a02068e8379ffa7f553deabb62cfc42b9a7 (patch)
tree268a902077befa5293c2a7833b2943768945e6b5 /grc/gui
parentfa465d160b0c53fae3ad7876cf429263157dd60a (diff)
remove unused imports, copyright date update, tweak
Diffstat (limited to 'grc/gui')
-rw-r--r--grc/gui/Block.py2
-rw-r--r--grc/gui/Connection.py2
-rw-r--r--grc/gui/Element.py4
3 files changed, 3 insertions, 5 deletions
diff --git a/grc/gui/Block.py b/grc/gui/Block.py
index fd8cfc226e..8c65bf06f1 100644
--- a/grc/gui/Block.py
+++ b/grc/gui/Block.py
@@ -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
diff --git a/grc/gui/Connection.py b/grc/gui/Connection.py
index 45f8a689a9..fabf34ee72 100644
--- a/grc/gui/Connection.py
+++ b/grc/gui/Connection.py
@@ -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
diff --git a/grc/gui/Element.py b/grc/gui/Element.py
index 2e20b9a224..f0518ee12b 100644
--- a/grc/gui/Element.py
+++ b/grc/gui/Element.py
@@ -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