From d915c8e60e014d344aa993a252fd272a79aa7127 Mon Sep 17 00:00:00 2001 From: VKamyshniy Date: Thu, 22 Jan 2015 23:42:03 +0200 Subject: [PATCH] [Summary] Adding "activatesdefault" property for Gtk::Entry --- gtk2_ardour/waves_ui.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk2_ardour/waves_ui.cc b/gtk2_ardour/waves_ui.cc index b91e7fab64..2597805055 100644 --- a/gtk2_ardour/waves_ui.cc +++ b/gtk2_ardour/waves_ui.cc @@ -839,6 +839,9 @@ WavesUI::set_attributes (Gtk::Widget& widget, const XMLNode& definition, const X if (!xml_property (definition, "hasframe", styles, true)) { entry->set_has_frame (false); } + if (xml_property (definition, "activatesdefault", styles, false)) { + entry->set_activates_default (true); + } } Gtk::Label* label = dynamic_cast (&widget);