Don't use single menu for "New with template" shared by toolbar and menubar
commita9912c3c35dd231d8232e88564a664a8d91e4bf0
authorJiří Techet <techet@gmail.com>
Tue, 24 Feb 2015 18:11:51 +0000 (24 19:11 +0100)
committerJiří Techet <techet@gmail.com>
Wed, 4 Mar 2015 11:40:45 +0000 (4 12:40 +0100)
tree9e4fc965b34c3f8d0e758eef3ee0b11a5266fe1e
parent3031ac7e410b346950d2651f8fa53e96d6a7e173
Don't use single menu for "New with template" shared by toolbar and menubar

The current implementation uses single menu for the toolbar and
menubar and reparents it when file menu is shown/hidden.
Connectiong "show"/"hide" signals doesn't work for menu items
on OS X (and I suppose Ubuntu either) so the template submenu is
never shown in the File menu.

The easiest fix seems to be having two identical menus the same
way we have them for recent files.
src/templates.c