summaryrefslogtreecommitdiff
path: root/gtk2_ardour/step_entry.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2012-11-02 11:33:37 +0000
committerRobin Gareus <robin@gareus.org>2012-11-02 11:33:37 +0000
commit2ca63da5a642aef363ac4a8b6976a39f92d3055a (patch)
treebd26100a5f179c762dba9d90ef5c14bcc12224b4 /gtk2_ardour/step_entry.cc
parentc8a4bdc4a4aecca78a986aa419fc0ccdea1c8a69 (diff)
make the Step-Entry piano a dialog window (no maximize, on-top)
git-svn-id: svn://localhost/ardour2/branches/3.0@13373 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/step_entry.cc')
-rw-r--r--gtk2_ardour/step_entry.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/step_entry.cc b/gtk2_ardour/step_entry.cc
index fd53fd55ff..10116fae22 100644
--- a/gtk2_ardour/step_entry.cc
+++ b/gtk2_ardour/step_entry.cc
@@ -470,6 +470,9 @@ StepEntry::StepEntry (StepEditor& seditor)
r = RefPtr<RadioAction>::cast_dynamic (act);
assert (r);
r->set_active (true);
+
+ set_keep_above(true);
+ set_type_hint(Gdk::WINDOW_TYPE_HINT_DIALOG);
}
StepEntry::~StepEntry()