Commit 318607c7 authored by Melroy van den Berg's avatar Melroy van den Berg
Browse files

Impl. methods

parent 974652b9
......@@ -27,14 +27,15 @@ AboutDialog::AboutDialog(Gtk::Window& parent) {
// Set logo
logo.set(IMAGE_LOCATION "logo.png");
// Set version
std::vector<Glib::ustring> authors;
authors.push_back("Melroy van den Berg <melroy@melroy.org>");
std::vector<Glib::ustring> devs;
devs.push_back("Melroy van den Berg <melroy@melroy.org>");
set_transient_for(parent);
set_program_name("WineGui");
set_title("About WineGUI");
set_comments("The most user-friendly WINE manager.");
set_logo(logo.get_pixbuf());
set_authors(authors);
set_authors(devs);
set_artists(devs);
set_version(VERSION);
set_copyright("Copyright © 2019-2020 Melroy van den Berg");
set_license_type(Gtk::LICENSE_AGPL_3_0);
......@@ -42,6 +43,16 @@ AboutDialog::AboutDialog(Gtk::Window& parent) {
AboutDialog::~AboutDialog() {}
void AboutDialog::run_dialog()
{
run();
}
void AboutDialog::hide_dialog(__attribute__((unused)) int response)
{
hide();
}
/**
* \brief Retrieve the app version
* \return Version number
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment