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): ...@@ -247,7 +247,7 @@ class ChartControler(object):
menu_items.show() menu_items.show()
# Create menu-item cut # Create menu-item cut
if transition or node != self.model.get_root(): if transition or node != self.model.get_root():
buf = "Cut" buf = "Remove"
menu_items = gtk.MenuItem(buf) menu_items = gtk.MenuItem(buf)
menu.append(menu_items) menu.append(menu_items)
menu_items.connect("activate", self.menuitem_response, menu_items.connect("activate", self.menuitem_response,
...@@ -284,7 +284,7 @@ class ChartControler(object): ...@@ -284,7 +284,7 @@ class ChartControler(object):
if not transition: if not transition:
cnode = node.copy() cnode = node.copy()
self.clipboard.put_node(cnode) self.clipboard.put_node(cnode)
elif buf == 'Cut': elif buf == 'Remove':
if transition: if transition:
transition.remove() transition.remove()
node.model.notify() 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