From 4c926df9711dac3970182acb0a1956d0b4db5d6a Mon Sep 17 00:00:00 2001 From: Maren Hachmann Date: Sun, 7 Oct 2018 18:40:33 +0000 Subject: Make middle-click functionality on color fields discoverable. --- src/ui/widget/selected-style.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ui/widget/selected-style.cpp b/src/ui/widget/selected-style.cpp index e4f5437f5..216b2688b 100644 --- a/src/ui/widget/selected-style.cpp +++ b/src/ui/widget/selected-style.cpp @@ -193,7 +193,7 @@ SelectedStyle::SelectedStyle(bool /*layout*/) } sp_set_font_size_smaller (GTK_WIDGET(_none[i].gobj())); _none[i].show_all(); - __none[i] = (i == SS_FILL)? (C_("Fill and stroke", "No fill")) : (C_("Fill and stroke", "No stroke")); + __none[i] = (i == SS_FILL)? (C_("Fill and stroke", "No fill, middle-click for black fill")) : (C_("Fill and stroke", "No stroke, middle-click for black stroke")); _pattern[i].set_markup (_("Pattern")); sp_set_font_size_smaller (GTK_WIDGET(_pattern[i].gobj())); @@ -1020,7 +1020,7 @@ SelectedStyle::update() place->add(*_color_preview[i]); gchar c_string[64]; g_snprintf (c_string, 64, "%06x/%.3g", color >> 8, SP_RGBA32_A_F(color)); - place->set_tooltip_text(__color[i] + ": " + c_string + _(", drag to adjust")); + place->set_tooltip_text(__color[i] + ": " + c_string + _(", drag to adjust, middle-click to remove")); _mode[i] = SS_COLOR; _popup_copy[i].set_sensitive(true); -- cgit v1.2.3