more button event handling tweaks
git-svn-id: svn://localhost/ardour2/branches/3.0@10369 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f54b3e5e0a
commit
fb5485261a
@ -153,7 +153,6 @@ ProcessorEntry::set_visual_state (Gtk::StateType t)
|
|||||||
|
|
||||||
switch (t) {
|
switch (t) {
|
||||||
case Gtk::STATE_ACTIVE:
|
case Gtk::STATE_ACTIVE:
|
||||||
_button.set_active_state (CairoWidget::Active);
|
|
||||||
_button.unset_visual_state ();
|
_button.unset_visual_state ();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -164,7 +163,6 @@ ProcessorEntry::set_visual_state (Gtk::StateType t)
|
|||||||
case Gtk::STATE_NORMAL:
|
case Gtk::STATE_NORMAL:
|
||||||
default:
|
default:
|
||||||
_button.unset_visual_state ();
|
_button.unset_visual_state ();
|
||||||
_button.unset_active_state ();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -819,6 +817,8 @@ ProcessorBox::processor_key_release_event (GdkEventKey *ev)
|
|||||||
bool
|
bool
|
||||||
ProcessorBox::processor_button_press_event (GdkEventButton *ev, ProcessorEntry* child)
|
ProcessorBox::processor_button_press_event (GdkEventButton *ev, ProcessorEntry* child)
|
||||||
{
|
{
|
||||||
|
cerr << "PBPE\n";
|
||||||
|
|
||||||
boost::shared_ptr<Processor> processor;
|
boost::shared_ptr<Processor> processor;
|
||||||
if (child) {
|
if (child) {
|
||||||
processor = child->processor ();
|
processor = child->processor ();
|
||||||
|
Loading…
Reference in New Issue
Block a user