2020-12-07 16:21:34 -08:00
|
|
|
#include "about.h"
|
|
|
|
|
|
|
|
About::About() {
|
2020-12-08 19:44:26 -08:00
|
|
|
std::vector<Glib::ustring> devs;
|
|
|
|
devs.push_back("Melroy van den Berg <melroy@melroy.org>");
|
|
|
|
icon.set_from_icon_name("emblem-web", Gtk::IconSize(Gtk::ICON_SIZE_DIALOG));
|
2020-12-07 16:21:34 -08:00
|
|
|
|
2020-12-08 19:44:26 -08:00
|
|
|
set_name("Browser");
|
|
|
|
set_version("0.1.0");
|
|
|
|
set_comments("The fastest decentralized browser on planet Earth.");
|
|
|
|
set_icon(icon.get_pixbuf());
|
2020-12-07 16:21:34 -08:00
|
|
|
set_website("https://melroy.org/");
|
|
|
|
set_copyright("Copyright © 2020-2021 Melroy van den Berg");
|
|
|
|
set_authors(devs);
|
|
|
|
set_artists(devs);
|
|
|
|
set_license_type(Gtk::License::LICENSE_MIT_X11);
|
|
|
|
|
|
|
|
show_all_children();
|
|
|
|
}
|
|
|
|
|
|
|
|
About::~About()
|
|
|
|
{
|
|
|
|
}
|
2020-12-08 19:44:26 -08:00
|
|
|
|
|
|
|
void About::show_about()
|
|
|
|
{
|
|
|
|
run();
|
|
|
|
}
|
|
|
|
|
|
|
|
void About::hide_about(__attribute__((unused)) int response)
|
|
|
|
{
|
|
|
|
hide();
|
|
|
|
}
|