mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
Merge branch 'miscfix' of https://github.com/mojofunk/ardour
This commit is contained in:
commit
ed42f3359b
3 changed files with 10 additions and 15 deletions
|
|
@ -101,6 +101,7 @@ typedef uint64_t microseconds_t;
|
|||
#include "missing_plugin_dialog.h"
|
||||
#include "mixer_ui.h"
|
||||
#include "mouse_cursors.h"
|
||||
#include "nsm.h"
|
||||
#include "opts.h"
|
||||
#include "pingback.h"
|
||||
#include "processor_box.h"
|
||||
|
|
@ -827,13 +828,6 @@ ARDOUR_UI::starting ()
|
|||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
ARDOUR_UI::no_memory_warning ()
|
||||
{
|
||||
XMLNode node (X_("no-memory-warning"));
|
||||
Config->add_instant_xml (node);
|
||||
}
|
||||
|
||||
void
|
||||
ARDOUR_UI::check_memory_locking ()
|
||||
{
|
||||
|
|
@ -890,9 +884,6 @@ ARDOUR_UI::check_memory_locking ()
|
|||
VBox* vbox = msg.get_vbox();
|
||||
HBox hbox;
|
||||
CheckButton cb (_("Do not show this window again"));
|
||||
|
||||
cb.signal_toggled().connect (sigc::mem_fun (*this, &ARDOUR_UI::no_memory_warning));
|
||||
|
||||
hbox.pack_start (cb, true, false);
|
||||
vbox->pack_start (hbox);
|
||||
cb.show();
|
||||
|
|
@ -903,6 +894,11 @@ ARDOUR_UI::check_memory_locking ()
|
|||
|
||||
editor->ensure_float (msg);
|
||||
msg.run ();
|
||||
|
||||
if (cb.get_active()) {
|
||||
XMLNode node (X_("no-memory-warning"));
|
||||
Config->add_instant_xml (node);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3737,8 +3733,8 @@ ARDOUR_UI::session_dialog (std::string msg)
|
|||
int
|
||||
ARDOUR_UI::pending_state_dialog ()
|
||||
{
|
||||
HBox* hbox = new HBox();
|
||||
Image* image = new Image (Stock::DIALOG_QUESTION, ICON_SIZE_DIALOG);
|
||||
HBox* hbox = manage (new HBox());
|
||||
Image* image = manage (new Image (Stock::DIALOG_QUESTION, ICON_SIZE_DIALOG));
|
||||
ArdourDialog dialog (_("Crash Recovery"), true);
|
||||
Label message (string_compose (_("\
|
||||
This session appears to have been in the\n\
|
||||
|
|
|
|||
|
|
@ -72,7 +72,6 @@
|
|||
#include "ardour_window.h"
|
||||
#include "editing.h"
|
||||
#include "meterbridge.h"
|
||||
#include "nsm.h"
|
||||
#include "ui_config.h"
|
||||
#include "enums.h"
|
||||
#include "visibility_group.h"
|
||||
|
|
@ -105,6 +104,7 @@ class SpeakerDialog;
|
|||
class ThemeManager;
|
||||
class TimeInfoBox;
|
||||
class MidiTracer;
|
||||
class NSM_Client;
|
||||
class LevelMeterHBox;
|
||||
class GlobalPortMatrixWindow;
|
||||
class GUIObjectState;
|
||||
|
|
@ -692,7 +692,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr
|
|||
|
||||
bool first_idle ();
|
||||
|
||||
void no_memory_warning ();
|
||||
void check_memory_locking ();
|
||||
|
||||
bool check_audioengine();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
1#!/usr/bin/env python
|
||||
#!/usr/bin/env python
|
||||
from waflib.extras import autowaf as autowaf
|
||||
from waflib import Options
|
||||
import os
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue