commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 44/101: grc: gtk3: fix connection arrows


From: git
Subject: [Commit-gnuradio] [gnuradio] 44/101: grc: gtk3: fix connection arrows
Date: Thu, 16 Mar 2017 14:58:04 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch python3
in repository gnuradio.

commit dccb7826806cec6566b565be2650549879f953e1
Author: Sebastian Koslowski <address@hidden>
Date:   Fri Jul 15 22:43:37 2016 +0200

    grc: gtk3: fix connection arrows
---
 grc/gui/Connection.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/grc/gui/Connection.py b/grc/gui/Connection.py
index 5362bc0..6122ec1 100644
--- a/grc/gui/Connection.py
+++ b/grc/gui/Connection.py
@@ -183,7 +183,8 @@ class Connection(Element, _Connection):
             cr.restore()
         # draw arrow on sink port
         cr.set_source_rgb(*self._arrow_color)
-        for p in self._arrow:
-            cr.move_to(*p)
+        cr.move_to(*self._arrow[0])
+        cr.line_to(*self._arrow[1])
+        cr.line_to(*self._arrow[2])
         cr.close_path()
         cr.fill()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]