diff options
| author | John Smith <john.smith7545@yahoo.com> | 2012-08-01 07:44:34 +0000 |
|---|---|---|
| committer | John Smith <john.smith7545@yahoo.com> | 2012-08-01 07:44:34 +0000 |
| commit | 4bf94479b67e9e9436f72ff6470cb4b9f576df3d (patch) | |
| tree | 90f20c678cb2228a9fb2dd29c5992ae21bff7c46 /src/ui/widget | |
| parent | UI. Fix for Bug #614500 (Cursor icon for Select/transform tool) by ~suv. (diff) | |
| download | inkscape-4bf94479b67e9e9436f72ff6470cb4b9f576df3d.tar.gz inkscape-4bf94479b67e9e9436f72ff6470cb4b9f576df3d.zip | |
Fix for 512247 : Show the direction in Object/Transform/Rotate
(bzr r11578)
Diffstat (limited to 'src/ui/widget')
| -rw-r--r-- | src/ui/widget/labelled.cpp | 6 | ||||
| -rw-r--r-- | src/ui/widget/labelled.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/widget/labelled.cpp b/src/ui/widget/labelled.cpp index df800545a..2dda941f2 100644 --- a/src/ui/widget/labelled.cpp +++ b/src/ui/widget/labelled.cpp @@ -71,6 +71,12 @@ Labelled::setLabelText(const Glib::ustring &str) _label->set_text(str); } +void +Labelled::setTooltipText(const Glib::ustring &tooltip) +{ + _label->set_tooltip_text(tooltip); + _widget->set_tooltip_text(tooltip); +} } // namespace Widget } // namespace UI diff --git a/src/ui/widget/labelled.h b/src/ui/widget/labelled.h index e49b289fe..030fd0d93 100644 --- a/src/ui/widget/labelled.h +++ b/src/ui/widget/labelled.h @@ -54,6 +54,7 @@ public: Gtk::Label const *getLabel() const; void setLabelText(const Glib::ustring &str); + void setTooltipText(const Glib::ustring &tooltip); protected: Gtk::Widget *_widget; |
