diff --git a/src/juci.cpp b/src/juci.cpp index b50656b..b7e1487 100644 --- a/src/juci.cpp +++ b/src/juci.cpp @@ -121,14 +121,7 @@ void Application::on_startup() { Gtk::Application::on_startup(); Menu::get().build(); - - if(!Menu::get().juci_menu || !Menu::get().window_menu) { - std::cerr << "Menu not found." << std::endl; - } - else { - set_app_menu(Menu::get().juci_menu); - set_menubar(Menu::get().window_menu); - } + set_menubar(Menu::get().window_menu); } Application::Application() : Gtk::Application("no.sout.juci", Gio::APPLICATION_NON_UNIQUE | Gio::APPLICATION_HANDLES_COMMAND_LINE) { diff --git a/src/menu.cpp b/src/menu.cpp index 2f819a7..11846ba 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -87,38 +87,39 @@ const Glib::ustring menu_xml = R"RAW( - -
- - _About - app.about - -
-
- - _Preferences - app.preferences - -
-
- - _Snippets - app.snippets - - - _Commands - app.commands - -
-
- - _Quit - app.quit - -
-
+ + _juci++ +
+ + _About + app.about + +
+
+ + _Preferences + app.preferences + +
+
+ + _Snippets + app.snippets + + + _Commands + app.commands + +
+
+ + _Quit + app.quit + +
+
_File