mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Only use ArdourDialog (and thus Gtk::Dialog) for actual dialogs.
Fixes #4364. I havn't fully tested every single dialog and window (heck, I don't even know how to get at half of them), and there may be some packing niggles, but this is the bulk of the work. The Gnome 3 kiddies can close their dialogs now, anyway :) git-svn-id: svn://localhost/ardour2/branches/3.0@10699 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a9fb657a47
commit
05283a6339
36 changed files with 120 additions and 104 deletions
|
|
@ -1110,12 +1110,12 @@ LocationUI::session_going_away()
|
|||
/*------------------------*/
|
||||
|
||||
LocationUIWindow::LocationUIWindow ()
|
||||
: ArdourDialog (_("Locations"))
|
||||
: ArdourWindow (_("Locations"))
|
||||
{
|
||||
set_wmclass(X_("ardour_locations"), PROGRAM_NAME);
|
||||
set_name ("LocationWindow");
|
||||
|
||||
get_vbox()->pack_start (_ui);
|
||||
add (_ui);
|
||||
}
|
||||
|
||||
LocationUIWindow::~LocationUIWindow()
|
||||
|
|
@ -1125,7 +1125,7 @@ LocationUIWindow::~LocationUIWindow()
|
|||
void
|
||||
LocationUIWindow::on_map ()
|
||||
{
|
||||
ArdourDialog::on_map ();
|
||||
ArdourWindow::on_map ();
|
||||
_ui.refresh_location_list();
|
||||
}
|
||||
|
||||
|
|
@ -1139,13 +1139,13 @@ LocationUIWindow::on_delete_event (GdkEventAny*)
|
|||
void
|
||||
LocationUIWindow::set_session (Session *s)
|
||||
{
|
||||
ArdourDialog::set_session (s);
|
||||
ArdourWindow::set_session (s);
|
||||
_ui.set_session (s);
|
||||
}
|
||||
|
||||
void
|
||||
LocationUIWindow::session_going_away ()
|
||||
{
|
||||
ArdourDialog::session_going_away ();
|
||||
ArdourWindow::session_going_away ();
|
||||
hide_all();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue