summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-01-10 18:24:34 +0100
committerRobin Gareus <robin@gareus.org>2017-01-10 18:25:02 +0100
commit522827577ef3193f87b7f048970c350876ad3d1b (patch)
treed72b2005cbc8d065293a38a8ecbe57165a190a8c /gtk2_ardour/rc_option_editor.cc
parent7551f6941f419fcfc619c68ca22c9640176442ba (diff)
Shrink preferences window when detached
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index 78cbb5767c..699a75f072 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -3985,6 +3985,8 @@ RCOptionEditor::use_own_window (bool and_fill_it)
if (win && new_window) {
win->set_name ("PreferencesWindow");
ARDOUR_UI::instance()->setup_toplevel_window (*win, _("Preferences"), this);
+ win->resize (1, 1);
+ win->set_resizable (false);
}
return win;