From 08134b0b984a69d964c7b4fb792cd4091feff6d1 Mon Sep 17 00:00:00 2001 From: oyvang Date: Wed, 11 Feb 2015 09:21:02 +0100 Subject: [PATCH] fixed comments --- juci/menu.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/juci/menu.cc b/juci/menu.cc index e71d574..2f9b1e9 100644 --- a/juci/menu.cc +++ b/juci/menu.cc @@ -7,7 +7,7 @@ Menu::Model::Model() { ui_string_ = - " " + " " " " " " " " @@ -47,9 +47,9 @@ Menu::Model::Model() { Menu::Model::~Model() { } -/***********************************/ -/* VIEW */ -/***********************************/ + +// VIEW + Menu::View::View(Gtk::Orientation orientation) : view_(orientation) { @@ -86,6 +86,7 @@ Menu::Controller::Controller(Keybindings::Controller keybindings) : [this]() { OnFileNewCCFile(); }); + keybindings_.action_group()->add(Gtk::Action::create("FileNewH", Gtk::Stock::NEW, "New h file", "Create a new h file"), Gtk::AccelKey("h"), @@ -183,7 +184,7 @@ void Menu::Controller::OnFileNewCCFile() { } void Menu::Controller::OnFileNewHeaderFile() { - std::cout << "New cc file clicked" << std::endl; + std::cout << "New header file clicked" << std::endl; //TODO(Oyvang) Legg til funksjon }