summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-06-01 22:23:34 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-06-01 22:23:34 -0400
commitd680c1f1dbd28fba3b5a8f04fe7fcbe7cdf88f18 (patch)
tree5f25ea98c2254bd6c42a6528100dc119eb4c2e73
parent0d999ea4ec059e62dd72ea595e166dba05109bfc (diff)
fix styling of pane dividers (the original reason for the "*Pane*" widget=>style spec)
-rw-r--r--gtk2_ardour/clearlooks.rc.in1
-rw-r--r--libs/gtkmm2ext/pane.cc1
2 files changed, 2 insertions, 0 deletions
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);