mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Statusbar: link session property dialog for format & timecode
This commit is contained in:
parent
65e34719bb
commit
b49764edf5
4 changed files with 44 additions and 5 deletions
|
|
@ -7,7 +7,7 @@
|
|||
* Copyright (C) 2007-2012 Carl Hetherington <carl@carlh.net>
|
||||
* Copyright (C) 2007-2015 Tim Mayberry <mojofunk@gmail.com>
|
||||
* Copyright (C) 2007 Doug McLain <doug@nostar.net>
|
||||
* Copyright (C) 2013-2019 Robin Gareus <robin@gareus.org>
|
||||
* Copyright (C) 2013-2020 Robin Gareus <robin@gareus.org>
|
||||
* Copyright (C) 2014-2018 Ben Loftis <ben@harrisonconsoles.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
|
@ -992,3 +992,29 @@ ARDOUR_UI::toggle_mixer_space()
|
|||
mixer->restore_mixer_space ();
|
||||
}
|
||||
}
|
||||
|
||||
bool
|
||||
ARDOUR_UI::timecode_button_press (GdkEventButton* ev)
|
||||
{
|
||||
if (ev->button != 1 || ev->type != GDK_2BUTTON_PRESS) {
|
||||
return false;
|
||||
}
|
||||
if (_session) {
|
||||
session_option_editor->show ();
|
||||
session_option_editor->set_current_page (_("Timecode"));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
ARDOUR_UI::format_button_press (GdkEventButton* ev)
|
||||
{
|
||||
if (ev->button != 1 || ev->type != GDK_2BUTTON_PRESS) {
|
||||
return false;
|
||||
}
|
||||
if (_session) {
|
||||
session_option_editor->show ();
|
||||
session_option_editor->set_current_page (_("Media"));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue