diff --git a/src/dialogs.cc b/src/dialogs.cc index 832c5be..c135a4c 100644 --- a/src/dialogs.cc +++ b/src/dialogs.cc @@ -50,8 +50,6 @@ std::string Dialog::gtk_dialog(const boost::filesystem::path &path, const std::s gtk_file_chooser_set_current_folder(reinterpret_cast(dialog.gobj()), current_path.string().c_str()); } - dialog.set_position(Gtk::WindowPosition::WIN_POS_CENTER_ON_PARENT); - for (auto &button : buttons) dialog.add_button(button.first, button.second); return dialog.run() == Gtk::RESPONSE_OK ? dialog.get_filename() : "";