[Xfce4-commits] <postler:master> Show registration link for new users with no address
Christian Dywan
noreply at xfce.org
Mon Feb 21 19:28:05 CET 2011
Updating branch refs/heads/master
to 3b02fd869191fc4ba50cb7f63e83ee6fc674758b (commit)
from f72a8d8e5f9c88bfc418a9028cc4077aab2fc6d2 (commit)
commit 3b02fd869191fc4ba50cb7f63e83ee6fc674758b
Author: Christian Dywan <christian at twotoasts.de>
Date: Mon Feb 21 19:22:32 2011 +0100
Show registration link for new users with no address
Fixes: https://bugs.launchpad.net/postler/+bug/697794
postler/postler-bureau.vala | 10 +++++++++-
wscript | 2 +-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/postler/postler-bureau.vala b/postler/postler-bureau.vala
index 3462bc0..c3d2f26 100644
--- a/postler/postler-bureau.vala
+++ b/postler/postler-bureau.vala
@@ -744,9 +744,17 @@ public class Postler.Bureau : Gtk.Window {
.printf (_("Set up your account.")));
welcome.pack_start (label, true, false, 4);
label = new Gtk.Label (
- _("Postler needs some basic information to get your mail.") + "\n");
+ _("Postler needs some basic information to get your mail."));
label.sensitive = false;
welcome.pack_start (label, true, false, 4);
+ label = new Gtk.Label (
+ "<a href=\"https://mail.google.com/mail/signup\">%s</a>\n".printf (
+ _("You don't have an email address yet?")));
+ label.use_markup = true;
+ label.activate_link.connect ((widget, uri) => {
+ return Postler.App.show_uri (get_screen (), uri);
+ });
+ welcome.pack_start (label, true, false, 4);
var welcome_box = new Gtk.HBox (false, 0);
welcome_box.pack_start (welcome, true, false, 0);
welcome_box.show_all ();
diff --git a/wscript b/wscript
index 02036f8..bbc2bb9 100644
--- a/wscript
+++ b/wscript
@@ -109,7 +109,7 @@ def configure (conf):
check_pkg ('gio-2.0', '2.26.0')
check_pkg ('unique-1.0', '0.9')
- check_pkg ('gtk+-2.0', '2.16.0', var='GTK')
+ check_pkg ('gtk+-2.0', '2.18.0', var='GTK')
check_pkg ('webkit-1.0', '1.1.18')
check_pkg ('libnotify', var='LIBNOTIFY')
check_pkg ('libcanberra', var='LIBCANBERRA')
More information about the Xfce4-commits
mailing list