diff --git a/juci/directories.cc b/juci/directories.cc index 04aa9f8..0a03e53 100644 --- a/juci/directories.cc +++ b/juci/directories.cc @@ -6,7 +6,7 @@ Directories::Controller::Controller(Directories::Config& cfg) : m_ScrolledWindow.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); } -bool Directories::Controller:: +void Directories::Controller:: open_folder(const boost::filesystem::path& dir_path) { m_refTreeModel = Gtk::TreeStore::create(view()); m_TreeView.set_model(m_refTreeModel); diff --git a/juci/directories.h b/juci/directories.h index 47b56e2..4105e7b 100644 --- a/juci/directories.h +++ b/juci/directories.h @@ -48,7 +48,7 @@ namespace Directories { Model& model() { return model_;} Directories::Config& config() { return config_;} Gtk::ScrolledWindow& widget() {return m_ScrolledWindow;} - bool open_folder(const boost::filesystem::path& dir_path); + void open_folder(const boost::filesystem::path& dir_path); void list_dirs(const boost::filesystem::path& dir_path, Gtk::TreeModel::Row &row, unsigned depth); std::string get_project_name(const boost::filesystem::path& dir_path);