summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/labelled.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget/labelled.cpp')
-rw-r--r--src/ui/widget/labelled.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/ui/widget/labelled.cpp b/src/ui/widget/labelled.cpp
index ae3a4c744..df800545a 100644
--- a/src/ui/widget/labelled.cpp
+++ b/src/ui/widget/labelled.cpp
@@ -12,10 +12,11 @@
# include <config.h>
#endif
+#include "labelled.h"
+
/* For getting the Gtkmmified Icon manager */
#include "widgets/icon.h"
-
-#include "labelled.h"
+#include <gtkmm/label.h>
namespace Inkscape {
namespace UI {
@@ -64,7 +65,11 @@ Labelled::getLabel() const
return _label;
}
-
+void
+Labelled::setLabelText(const Glib::ustring &str)
+{
+ _label->set_text(str);
+}
} // namespace Widget