summaryrefslogtreecommitdiff
path: root/grc/gui/FlowGraph.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2013-11-07 12:04:00 +0100
committerSebastian Koslowski <koslowski@kit.edu>2013-11-07 12:04:00 +0100
commit4633a8edcfa3dfbd508cdf9cdfba4c36f1a45068 (patch)
tree8e721cbef013264f58b3fc9077186e53d3b2c300 /grc/gui/FlowGraph.py
parentdd7abe7e6abe160230cee4c9702da55cea18d643 (diff)
grc: context menu rearranged
Diffstat (limited to 'grc/gui/FlowGraph.py')
-rw-r--r--grc/gui/FlowGraph.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/grc/gui/FlowGraph.py b/grc/gui/FlowGraph.py
index 2a5d60d417..c194dfb113 100644
--- a/grc/gui/FlowGraph.py
+++ b/grc/gui/FlowGraph.py
@@ -58,16 +58,19 @@ class FlowGraph(Element):
Actions.BLOCK_COPY,
Actions.BLOCK_PASTE,
Actions.ELEMENT_DELETE,
+ None,
Actions.BLOCK_ROTATE_CCW,
Actions.BLOCK_ROTATE_CW,
Actions.BLOCK_ENABLE,
Actions.BLOCK_DISABLE,
- Actions.BLOCK_PARAM_MODIFY,
+ None,
Actions.BLOCK_CREATE_HIER,
Actions.OPEN_HIER,
Actions.BUSSIFY_SOURCES,
Actions.BUSSIFY_SINKS,
- ]: self._context_menu.append(action.create_menu_item())
+ None,
+ Actions.BLOCK_PARAM_MODIFY
+ ]: self._context_menu.append(action.create_menu_item() if action else gtk.SeparatorMenuItem())
self.get_context_menu = lambda: self._context_menu
###########################################################################