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>");
|
2020-12-09 09:52:21 -08:00
|
|
|
logo.set("../../misc/browser_logo_small.png");
|
2020-12-07 16:21:34 -08:00
|
|
|
|
2020-12-10 10:53:05 -08:00
|
|
|
set_name("DBrowser");
|
2020-12-08 19:44:26 -08:00
|
|
|
set_version("0.1.0");
|
2020-12-09 09:52:21 -08:00
|
|
|
set_comments("The fastest decentralized & distributed Browser on planet Earth.");
|
|
|
|
set_logo(logo.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();
|
|
|
|
}
|