mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 05:36:31 +01:00
progressing Open Session Dialog (adding double click on recent session name)
[git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 457732]
This commit is contained in:
parent
d853c93aee
commit
c6b6ee9278
4 changed files with 29 additions and 13 deletions
|
|
@ -275,23 +275,24 @@ WavesButton::on_size_request (Gtk::Requisition* req)
|
|||
req->width += _corner_radius;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool
|
||||
WavesButton::on_button_press_event (GdkEventButton *ev)
|
||||
{
|
||||
_pushed = true;
|
||||
queue_draw ();
|
||||
if (binding_proxy.button_press_handler (ev)) {
|
||||
return true;
|
||||
}
|
||||
if (!_act_on_release) {
|
||||
if (_action) {
|
||||
_action->activate ();
|
||||
if (ev->type == GDK_2BUTTON_PRESS) {
|
||||
signal_double_clicked (this);
|
||||
} else {
|
||||
_pushed = true;
|
||||
queue_draw ();
|
||||
if (binding_proxy.button_press_handler (ev)) {
|
||||
return true;
|
||||
}
|
||||
if (!_act_on_release) {
|
||||
if (_action) {
|
||||
_action->activate ();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue