LibreWeb-Browser/src/about.cc

36 lines
826 B
C++
Raw Normal View History

2020-12-07 16:21:34 -08:00
#include "about.h"
#include "project_config.h"
2020-12-07 16:21:34 -08:00
2021-02-12 12:46:41 -08:00
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>");
2021-02-27 13:25:18 -08:00
logo.set("../../images/browser_logo_small.png");
2020-12-07 16:21:34 -08:00
set_program_name("DWeb Browser");
set_version(PROJECT_VER);
2020-12-09 09:52:21 -08:00
set_comments("The fastest decentralized & distributed Browser on planet Earth.");
set_logo(logo.get_pixbuf());
2021-02-12 12:46:41 -08:00
set_website("https://melroy.org/");
2020-12-07 16:21:34 -08:00
set_copyright("Copyright © 2020-2021 Melroy van den Berg");
set_authors(devs);
set_artists(devs);
set_license_type(Gtk::License::LICENSE_MIT_X11);
set_position(Gtk::WIN_POS_CENTER_ON_PARENT);
2020-12-07 16:21:34 -08:00
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();
}