mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
move CloseAllDialogs signal and associated method from ArdourDialog to ARDOUR_UI, and make ArdourWindow obey it too
This commit is contained in:
parent
00f94a04cc
commit
6fd66bd467
5 changed files with 13 additions and 9 deletions
|
|
@ -23,6 +23,7 @@
|
|||
#include <gtkmm2ext/doi.h>
|
||||
|
||||
#include "ardour_window.h"
|
||||
#include "ardour_ui.h"
|
||||
#include "keyboard.h"
|
||||
|
||||
using namespace std;
|
||||
|
|
@ -83,8 +84,12 @@ ArdourWindow::init ()
|
|||
|
||||
(a) utility & dialog windows are considered to be part of the same level
|
||||
(b) they will float above normal windows without any particular effort
|
||||
(c) present()-ing them will make a utility float over a dialog or
|
||||
vice versa.
|
||||
*/
|
||||
|
||||
set_type_hint (Gdk::WINDOW_TYPE_HINT_UTILITY);
|
||||
|
||||
ARDOUR_UI::CloseAllDialogs.connect (sigc::mem_fun (*this, &ArdourWindow::hide));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue