The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Move menu entry for merge

These changes was commited to the Birdfont repository Sat, 15 Aug 2015 07:50:35 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Sat, 15 Aug 2015 07:50:35 +0000]

Updated Files

libbirdfont/Menu.vala
--- a/libbirdfont/Menu.vala +++ b/libbirdfont/Menu.vala @@ -158,6 +158,16 @@ show_menu = false; }); edit_menu.items.add (simplify_path); + + MenuItem merge_paths = add_menu_item (t_("Merge Paths"), "merge_paths", "Glyph"); + merge_paths.action.connect (() => { + Task t = new Task (); + t.task.connect (merge_selected_paths); + MainWindow.native_window.run_background_thread (t); + + show_menu = false; + }); + edit_menu.items.add (merge_paths); MenuItem close_path = add_menu_item (t_("Close Path"), "close path", "Glyph"); close_path.action.connect (() => { @@ -228,16 +238,6 @@ show_menu = false; }); edit_menu.items.add (select_point_below); - - MenuItem merge_paths = add_menu_item (t_("Merge Paths"), "merge_paths", "Glyph"); - merge_paths.action.connect (() => { - Task t = new Task (); - t.task.connect (merge_selected_paths); - MainWindow.native_window.run_background_thread (t); - - show_menu = false; - }); - edit_menu.items.add (merge_paths); // layers MenuItem layers = add_menu_item (t_("Layers"));