diff options
author | Nick Mainsbridge <beatroute@iprimus.com.au> | 2006-04-20 20:41:05 +0000 |
---|---|---|
committer | Nick Mainsbridge <beatroute@iprimus.com.au> | 2006-04-20 20:41:05 +0000 |
commit | 2ce07f34e2aa36eed04753a4a24248e96134dd0b (patch) | |
tree | 60b0b9e81208db6b005411c89814af313539b75c /libs/gtkmm2ext/choice.cc | |
parent | 17b18acda3447214bd739107d9a46eecfaa6ef70 (diff) |
Comments button now indicates when comments are present, more dialog work (ask about saving, comments box etc.), code cleanups in mixer_strip.cc.
git-svn-id: svn://localhost/trunk/ardour2@461 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/gtkmm2ext/choice.cc')
-rw-r--r-- | libs/gtkmm2ext/choice.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/choice.cc b/libs/gtkmm2ext/choice.cc index b1bd2d8dff..7f5f869ada 100644 --- a/libs/gtkmm2ext/choice.cc +++ b/libs/gtkmm2ext/choice.cc @@ -40,7 +40,7 @@ Choice::Choice (string prompt, vector<string> choices, bool center) set_name ("ChoiceWindow"); HBox* dhbox = manage (new HBox()); - Image* dimage = manage (new Gtk::Image(Stock::DIALOG_QUESTION, Gtk::ICON_SIZE_DIALOG)); + Image* dimage = manage (new Gtk::Image(Stock::DIALOG_QUESTION, Gtk::ICON_SIZE_DIALOG)); Label* label = manage (new Label (prompt)); dhbox->pack_start (*dimage, true, false, 10); @@ -50,6 +50,7 @@ Choice::Choice (string prompt, vector<string> choices, bool center) get_vbox()->pack_start (*dhbox, true, false); set_has_separator (false); + set_resizable (false); show_all_children (); for (n = 0, i = choices.begin(); i != choices.end(); ++i, ++n) { |