summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_dialog.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-23 08:35:41 +0000
committerDavid Robillard <d@drobilla.net>2011-11-23 08:35:41 +0000
commite70249ab658ef1b02da01d84bf2d9b46847e5194 (patch)
tree91c3e5e04152e201e19eec85b725fdefe76a5cb8 /gtk2_ardour/tempo_dialog.cc
parent8301e6c55fe3d827b155618ef52eba1966b44d78 (diff)
Pack toolbar combo boxes with expand=false and remove size kludges.
Turns out gtk these days sizes combo boxes with precisely enough space if packed to not expand, none of this mess is necessary any more. git-svn-id: svn://localhost/ardour2/branches/3.0@10790 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/tempo_dialog.cc')
-rw-r--r--gtk2_ardour/tempo_dialog.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/tempo_dialog.cc b/gtk2_ardour/tempo_dialog.cc
index cca9e6f7c5..bb9a5c4a83 100644
--- a/gtk2_ardour/tempo_dialog.cc
+++ b/gtk2_ardour/tempo_dialog.cc
@@ -77,7 +77,7 @@ TempoDialog::init (const Timecode::BBT_Time& when, double bpm, double note_type,
strings.push_back (_("sixteenth (16)"));
strings.push_back (_("thirty-second (32)"));
- set_popdown_strings (note_types, strings, true);
+ set_popdown_strings (note_types, strings);
if (note_type == 1.0f) {
note_types.set_active_text (_("whole (1)"));
@@ -275,7 +275,7 @@ MeterDialog::init (const Timecode::BBT_Time& when, double bpb, double note_type,
strings.push_back (_("sixteenth (16)"));
strings.push_back (_("thirty-second (32)"));
- set_popdown_strings (note_types, strings, true);
+ set_popdown_strings (note_types, strings);
if (note_type == 1.0f) {
note_types.set_active_text (_("whole (1)"));