From d680c1f1dbd28fba3b5a8f04fe7fcbe7cdf88f18 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 1 Jun 2016 22:23:34 -0400 Subject: [PATCH] fix styling of pane dividers (the original reason for the "*Pane*" widget=>style spec) --- gtk2_ardour/clearlooks.rc.in | 1 + libs/gtkmm2ext/pane.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/gtk2_ardour/clearlooks.rc.in b/gtk2_ardour/clearlooks.rc.in index 5aceee0f0c..bf97320a7e 100644 --- a/gtk2_ardour/clearlooks.rc.in +++ b/gtk2_ardour/clearlooks.rc.in @@ -1202,3 +1202,4 @@ widget "*processor postfader" style:highest "processor" widget "*MonitorSectionLabel" style:highest "small_text" widget "*ooltip*" style:highest "tooltip" widget "*Pane" style:highest "pane" +widget "*Pane.Divider" style:highest "pane" diff --git a/libs/gtkmm2ext/pane.cc b/libs/gtkmm2ext/pane.cc index 31408eb777..ae3dab4e90 100644 --- a/libs/gtkmm2ext/pane.cc +++ b/libs/gtkmm2ext/pane.cc @@ -111,6 +111,7 @@ void Pane::add_divider () { Divider* d = new Divider; + d->set_name (X_("Divider")); d->signal_button_press_event().connect (sigc::bind (sigc::mem_fun (*this, &Pane::handle_press_event), d), false); d->signal_button_release_event().connect (sigc::bind (sigc::mem_fun (*this, &Pane::handle_release_event), d), false); d->signal_motion_notify_event().connect (sigc::bind (sigc::mem_fun (*this, &Pane::handle_motion_event), d), false);