Commit 3bec6ee1 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[gui-lib] Rename Cut to Remove for nodes and transitions

parent a73fc855
......@@ -247,7 +247,7 @@ class ChartControler(object):
menu_items.show()
# Create menu-item cut
if transition or node != self.model.get_root():
buf = "Cut"
buf = "Remove"
menu_items = gtk.MenuItem(buf)
menu.append(menu_items)
menu_items.connect("activate", self.menuitem_response,
......@@ -284,7 +284,7 @@ class ChartControler(object):
if not transition:
cnode = node.copy()
self.clipboard.put_node(cnode)
elif buf == 'Cut':
elif buf == 'Remove':
if transition:
transition.remove()
node.model.notify()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment