summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/labelled.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2018-09-18 14:29:23 +0000
committerThomas Holder <thomas@thomas-holder.de>2018-09-20 13:17:31 +0000
commitc37ae911dde4dffe81173c39d6da7d9163b143f7 (patch)
treeff7a6dd9ba890a207d9ba51b3547dfaaa083f7e8 /src/ui/widget/labelled.cpp
parentFix build (diff)
downloadinkscape-c37ae911dde4dffe81173c39d6da7d9163b143f7.tar.gz
inkscape-c37ae911dde4dffe81173c39d6da7d9163b143f7.zip
fix transform dialog icons with inverted y-axis
Diffstat (limited to 'src/ui/widget/labelled.cpp')
-rw-r--r--src/ui/widget/labelled.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/widget/labelled.cpp b/src/ui/widget/labelled.cpp
index 6ee2b752f..3480a2b6a 100644
--- a/src/ui/widget/labelled.cpp
+++ b/src/ui/widget/labelled.cpp
@@ -77,6 +77,11 @@ Labelled::setTooltipText(const Glib::ustring &tooltip)
_widget->set_tooltip_text(tooltip);
}
+void Labelled::flipIconVertically()
+{
+ _icon->set(_icon->get_pixbuf()->flip(false));
+}
+
bool Labelled::on_mnemonic_activate ( bool group_cycling )
{
return _widget->mnemonic_activate ( group_cycling );