[P4/git history rebuild] Remove use of Stock:: item (NOTE: this is a highly questionable edit)

This commit is contained in:
Valeriy Kamyshniy 2014-05-27 21:22:40 -04:00 committed by Paul Davis
parent 94f47dde75
commit c0d3db7502

View file

@ -133,9 +133,9 @@ ExportFormatDialog::ExportFormatDialog (FormatPtr format, bool new_dialog) :
/* Buttons */
revert_button = add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
revert_button = add_button ("CANCEL", Gtk::RESPONSE_CANCEL);
revert_button->signal_clicked().connect (sigc::mem_fun(*this, &ExportFormatDialog::revert));
close_button = add_button (Gtk::Stock::SAVE, Gtk::RESPONSE_APPLY);
close_button = add_button ("SAVE", Gtk::RESPONSE_APPLY);
close_button->set_sensitive (false);
close_button->signal_clicked().connect (sigc::mem_fun (*this, &ExportFormatDialog::end_dialog));
manager.CompleteChanged.connect (*this, invalidator (*this), boost::bind (&Gtk::Button::set_sensitive, close_button, _1), gui_context());