summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/labelled.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget/labelled.h')
-rw-r--r--src/ui/widget/labelled.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/widget/labelled.h b/src/ui/widget/labelled.h
index 3685944a4..5670af0b6 100644
--- a/src/ui/widget/labelled.h
+++ b/src/ui/widget/labelled.h
@@ -39,6 +39,8 @@ public:
Gtk::Widget const *getWidget() const;
Gtk::Label const *getLabel() const;
+ void setLabelText(const Glib::ustring &str) { _label->set_text(str); };
+
protected:
Gtk::Widget *_widget;
Gtk::Label *_label;