20 #include <gtkmm/label.h>
32 get_vbox()->set_spacing (6);
34 Label* l = manage (
new Label);
35 l->set_markup (
string_compose (
_(
"%1 has found the file <i>%2</i> in the following places:\n\n"), PROGRAM_NAME, file));
36 get_vbox()->pack_start (*l);
38 for (vector<string>::const_iterator i = paths.begin(); i != paths.end(); ++i) {
44 get_vbox()->pack_start (*manage (
new Label (
_(
"\n\nPlease select the path that you want to get the file from."))));
46 add_button (
_(
"Done"), RESPONSE_OK);
47 set_default_response (RESPONSE_OK);
55 if (ev->type == GDK_2BUTTON_PRESS) {
56 response (RESPONSE_OK);
std::vector< Gtk::RadioButton * > _radio_buttons
Gtk::RadioButtonGroup _group
AmbiguousFileDialog(const std::string &, const std::vector< std::string > &)
bool rb_button_press(GdkEventButton *)
std::string string_compose(const std::string &fmt, const T1 &o1)