summaryrefslogtreecommitdiff
path: root/gtk2_ardour/keyeditor.cc
diff options
context:
space:
mode:
authorMathias Buhr <napcode@apparatus.de>2016-03-08 09:14:50 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2016-03-08 08:44:58 -0500
commit720c68d7e1fc2c3e18bf50e542b1d9cad05a227a (patch)
tree84aefe0d04a694a00a16e1167e1e415287fdf48c /gtk2_ardour/keyeditor.cc
parent1375c454fbf40a5c698f8e95d9dc4f85d0835ebd (diff)
Adds a tooltip to the icon
Diffstat (limited to 'gtk2_ardour/keyeditor.cc')
-rw-r--r--gtk2_ardour/keyeditor.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/keyeditor.cc b/gtk2_ardour/keyeditor.cc
index d7a92bd630..f300b4751c 100644
--- a/gtk2_ardour/keyeditor.cc
+++ b/gtk2_ardour/keyeditor.cc
@@ -68,7 +68,7 @@ KeyEditor::KeyEditor ()
: ArdourWindow (_("Key Bindings"))
, unbind_button (_("Remove shortcut"))
, unbind_box (BUTTONBOX_END)
- , filter_entry (_("Search..."))
+ , filter_entry (_("Search..."), true)
, filter_string("")
, sort_column(0)
, sort_type(Gtk::SORT_ASCENDING)
@@ -80,6 +80,7 @@ KeyEditor::KeyEditor ()
Glib::RefPtr<Gdk::Pixbuf> icon = ARDOUR_UI_UTILS::get_icon ("search");
filter_entry.set_icon_from_pixbuf (icon);
+ filter_entry.set_icon_tooltip_text (_("Click to reset search string"));
filter_entry.signal_search_string_updated ().connect (sigc::mem_fun (*this, &KeyEditor::search_string_updated));
vpacker.pack_start (filter_entry, false, false);