summaryrefslogtreecommitdiff
path: root/plugins/python/welcome/website.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/python/welcome/website.py')
-rw-r--r--plugins/python/welcome/website.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/python/welcome/website.py b/plugins/python/welcome/website.py
new file mode 100644
index 0000000..07c2016
--- /dev/null
+++ b/plugins/python/welcome/website.py
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+
+from welcome.board import SmallBoard
+from gi.repository import Gtk, Gdk
+
+
+class WebInvitation(SmallBoard):
+ """Présente un lien rapide vers le site Web officiel."""
+
+
+ def __init__(self):
+ """Construit le panneau avec son contenu."""
+
+ super(WebInvitation, self).__init__()
+
+ msg = '''Get access to the online documentation and stay tuned by visiting the official website :
+
+<a href="http://0xdeadc0de.fr/chrysalide/">0xdeadc0de.fr/chrysalide</a>'''
+
+ desc = Gtk.Label(msg, use_markup=True, wrap=True)
+ desc.add_events(Gdk.EventMask.ENTER_NOTIFY_MASK)
+ desc.set_track_visited_links(False)
+ self.add(desc)
+
+
+ def get_location(self):
+ """Fournit la localisation souhaitée pour la plache."""
+
+ return [ 3, 0, 1, 1 ]