diff options
Diffstat (limited to 'grc/gui/Block.py')
-rw-r--r-- | grc/gui/Block.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/grc/gui/Block.py b/grc/gui/Block.py index 5d3ae457da..60f19fc1a4 100644 --- a/grc/gui/Block.py +++ b/grc/gui/Block.py @@ -217,14 +217,13 @@ class Block(Element): width, height = layout.get_pixel_size() pixmap = self.get_parent().new_pixmap(width, height) gc = pixmap.new_gc() - gc.set_foreground(Colors.FLOWGRAPH_BACKGROUND_COLOR) + gc.set_foreground(Colors.COMMENT_BACKGROUND_COLOR) pixmap.draw_rectangle(gc, True, 0, 0, width, height) pixmap.draw_layout(gc, 0, 0, layout) self._comment_pixmap = pixmap else: self._comment_pixmap = None - def draw(self, gc, window): """ Draw the signal block with label and inputs/outputs. |