summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKamalpreet Grewal <>2016-04-07 10:54:08 +0000
committertavmjong-free <tavmjong@free.fr>2016-04-07 10:54:08 +0000
commitd3460d8a60c4d2c99c2c12fe0646db224335e232 (patch)
treeea5df444011e6986db8c0217d4ddd0f47b0171c7 /src
parentre-write rev 11457. (Bug 1557348) (diff)
downloadinkscape-d3460d8a60c4d2c99c2c12fe0646db224335e232.tar.gz
inkscape-d3460d8a60c4d2c99c2c12fe0646db224335e232.zip
Add clickable link to www.inkscape.org to splash screen dialog.
(bzr r14764)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/aboutbox.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ui/dialog/aboutbox.cpp b/src/ui/dialog/aboutbox.cpp
index 81f48e6ef..b653a630d 100644
--- a/src/ui/dialog/aboutbox.cpp
+++ b/src/ui/dialog/aboutbox.cpp
@@ -120,10 +120,22 @@ AboutBox::AboutBox() : Gtk::Dialog(_("About Inkscape")) {
label->set_selectable(true);
label->show();
+ Gtk::Label *link = new Gtk::Label();
+ const gchar *website_link =
+ "<a href=\"https://www.inkscape.org\"> https://www.inkscape.org</a>";
+
+ link->set_markup(website_link);
+ link->set_alignment(Gtk::ALIGN_END);
+ link->set_padding(5,5);
+ link->set_selectable(true);
+ link->show();
+
#if WITH_GTKMM_3_0
get_content_area()->pack_start(*manage(label), false, false);
+ get_content_area()->pack_start(*manage(link), false, false);
#else
get_vbox()->pack_start(*manage(label), false, false);
+ get_vbox()->pack_start(*manage(link), false, false);
#endif
Gtk::Requisition requisition;