diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2014-12-05 10:24:08 +0100 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2014-12-05 10:24:08 +0100 |
commit | eb40a41ec28d5f8320d9c0abcb7a2aa2602b9872 (patch) | |
tree | 2a5b96dec2b1ffa3f6f04c7c15ed96df1d24418c /grc/gui/Port.py | |
parent | 9372ec7daf7856de7c0e1fe782836a5c722c1473 (diff) |
grc: add gr_message domain
Diffstat (limited to 'grc/gui/Port.py')
-rw-r--r-- | grc/gui/Port.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/grc/gui/Port.py b/grc/gui/Port.py index 995750a7c6..9abda878bf 100644 --- a/grc/gui/Port.py +++ b/grc/gui/Port.py @@ -22,7 +22,7 @@ from Constants import \ PORT_SEPARATION, CONNECTOR_EXTENSION_MINIMAL, \ CONNECTOR_EXTENSION_INCREMENT, \ PORT_LABEL_PADDING, PORT_MIN_WIDTH, PORT_LABEL_HIDDEN_WIDTH, PORT_FONT -from .. base.Constants import DEFAULT_DOMAIN +from .. base.Constants import DEFAULT_DOMAIN, GR_MESSAGE_DOMAIN import Utils import Actions import Colors @@ -54,7 +54,9 @@ class Port(Element): Element.create_shapes(self) if self.get_hide(): return # this port is hidden, no need to create shapes - if self.get_domain() != DEFAULT_DOMAIN: + if self.get_domain() == GR_MESSAGE_DOMAIN: + pass + elif self.get_domain() != DEFAULT_DOMAIN: self.line_attributes[0] = 2 #get current rotation rotation = self.get_rotation() |