diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-01-25 09:36:53 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-01-25 09:36:53 +0000 |
| commit | 2c971690777ca2dca936245569bae9dfb76513e8 (patch) | |
| tree | 2a921d8d89a98483ae5dfeaf45a035e68bb373fb /src/inkscape-window.cpp | |
| parent | SelectToolbar: cleanup unused (diff) | |
| download | inkscape-2c971690777ca2dca936245569bae9dfb76513e8.tar.gz inkscape-2c971690777ca2dca936245569bae9dfb76513e8.zip | |
Rewrite main menu bar code:
Convert to GTKMM.
General cleanup.
Move to dedicated files.
Diffstat (limited to 'src/inkscape-window.cpp')
| -rw-r--r-- | src/inkscape-window.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inkscape-window.cpp b/src/inkscape-window.cpp index 70192b711..08e8407c9 100644 --- a/src/inkscape-window.cpp +++ b/src/inkscape-window.cpp @@ -26,6 +26,8 @@ #include "ui/interface.h" // main menu #include "ui/monitor.h" // get_monitor_geometry_at_point() +#include "ui/desktop/menubar.h" + #include "ui/drag-and-drop.h" #include "widgets/desktop-widget.h" @@ -66,7 +68,7 @@ InkscapeWindow::InkscapeWindow(SPDocument* document) _desktop = _desktop_widget->desktop; // Menu bar (must come after desktop widget creation as we need _desktop) - _menubar = Glib::wrap(GTK_MENU_BAR(sp_ui_main_menubar(_desktop))); + _menubar = build_menubar(_desktop); _menubar->set_name("MenuBar"); _menubar->show_all(); |
