summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-18 19:38:37 +0100
committerDavid Robillard <d@drobilla.net>2017-02-18 19:38:37 +0100
commit4ef26af48a9be7d601bb74aba907fd5516b911c5 (patch)
tree5cc2aba183a9769d05b2e9cad5c532805e05a70b
parent667e633e829760b5a1e9591227ec5437cac1995d (diff)
downloadingen-4ef26af48a9be7d601bb74aba907fd5516b911c5.tar.gz
ingen-4ef26af48a9be7d601bb74aba907fd5516b911c5.tar.bz2
ingen-4ef26af48a9be7d601bb74aba907fd5516b911c5.zip
Kludge around broken clipboard on MacOS
-rw-r--r--src/gui/GraphBox.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp
index 4aa3589f..f48cffa7 100644
--- a/src/gui/GraphBox.cpp
+++ b/src/gui/GraphBox.cpp
@@ -1,6 +1,6 @@
/*
This file is part of Ingen.
- Copyright 2007-2016 David Robillard <http://drobilla.net/>
+ Copyright 2007-2017 David Robillard <http://drobilla.net/>
Ingen is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
@@ -180,6 +180,10 @@ GraphBox::GraphBox(BaseObjectType* cobject,
clipboard->signal_owner_change().connect(
sigc::mem_fun(this, &GraphBox::event_clipboard_changed));
+#ifdef __APPLE__
+ _menu_paste->set_sensitive(true);
+#endif
+
_status_label = Gtk::manage(new Gtk::Label("STATUS"));
_status_bar->pack_start(*_status_label, false, true, 0);
_status_label->show();