summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-09-18 18:53:30 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-09-19 21:05:29 +0000
commitee9ddd39016ba1ae333b9e6246b8dda6ee03fca0 (patch)
treea68d16e7818b5c9f5d4491f3cd4d7371408faa57
parentsink with master and cleanup (diff)
downloadinkscape-ee9ddd39016ba1ae333b9e6246b8dda6ee03fca0.tar.gz
inkscape-ee9ddd39016ba1ae333b9e6246b8dda6ee03fca0.zip
Improvements from Nathanl
-rw-r--r--src/ui/desktop/menubar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/desktop/menubar.cpp b/src/ui/desktop/menubar.cpp
index c222ff7b9..0e19807e6 100644
--- a/src/ui/desktop/menubar.cpp
+++ b/src/ui/desktop/menubar.cpp
@@ -541,7 +541,6 @@ build_menu(Gtk::MenuShell* menu, Inkscape::XML::Node* xml, Inkscape::UI::View::V
std::cerr << "build_menu: xml node has no name!" << std::endl;
}
}
- SP_ACTIVE_DESKTOP->_menu_update.connect(sigc::ptr_fun(&set_menuitems));
}
Gtk::MenuBar*
@@ -549,6 +548,7 @@ build_menubar(Inkscape::UI::View::View* view)
{
Gtk::MenuBar* menubar = Gtk::manage(new Gtk::MenuBar());
build_menu(menubar, INKSCAPE.get_menus()->parent(), view);
+ SP_ACTIVE_DESKTOP->_menu_update.connect(sigc::ptr_fun(&set_menuitems));
return menubar;
}