diff options
Diffstat (limited to 'src/gui/BreadCrumb.hpp')
-rw-r--r-- | src/gui/BreadCrumb.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/BreadCrumb.hpp b/src/gui/BreadCrumb.hpp index 5de175c0..846064d2 100644 --- a/src/gui/BreadCrumb.hpp +++ b/src/gui/BreadCrumb.hpp @@ -61,7 +61,7 @@ public: void set_path(const Raul::Path& path) { remove(); - const string text = (path == "/") ? "/" : path.name().c_str(); + const std::string text = (path.is_root()) ? "/" : path.name().c_str(); Gtk::Label* lab = manage(new Gtk::Label(text)); lab->set_padding(0, 0); lab->show(); |