diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-02-16 22:26:43 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-02-17 00:43:31 +0800 |
commit | cc16ff0eebeeff9ddfe8fdb675471a28eea9f8cb (patch) | |
tree | 705d220ff9e19fcb84fe7087aa2f78ffbb200c58 /libempathy-gtk | |
parent | 4e2b90ee32a86004446ec7bf9246916147cbc377 (diff) | |
download | gsoc2013-empathy-cc16ff0eebeeff9ddfe8fdb675471a28eea9f8cb.tar gsoc2013-empathy-cc16ff0eebeeff9ddfe8fdb675471a28eea9f8cb.tar.gz gsoc2013-empathy-cc16ff0eebeeff9ddfe8fdb675471a28eea9f8cb.tar.bz2 gsoc2013-empathy-cc16ff0eebeeff9ddfe8fdb675471a28eea9f8cb.tar.lz gsoc2013-empathy-cc16ff0eebeeff9ddfe8fdb675471a28eea9f8cb.tar.xz gsoc2013-empathy-cc16ff0eebeeff9ddfe8fdb675471a28eea9f8cb.tar.zst gsoc2013-empathy-cc16ff0eebeeff9ddfe8fdb675471a28eea9f8cb.zip |
move the second part of the message at the end of the widget
I rephrased it as well per Will's suggestion.
https://bugzilla.gnome.org/show_bug.cgi?id=652669
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-local-xmpp-assistant-widget.c | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/libempathy-gtk/empathy-local-xmpp-assistant-widget.c b/libempathy-gtk/empathy-local-xmpp-assistant-widget.c index a0e472103..9c59e8b2c 100644 --- a/libempathy-gtk/empathy-local-xmpp-assistant-widget.c +++ b/libempathy-gtk/empathy-local-xmpp-assistant-widget.c @@ -146,17 +146,11 @@ empathy_local_xmpp_assistant_widget_constructed (GObject *object) gtk_container_set_border_width (GTK_CONTAINER (self), 12); - w = gtk_label_new (NULL); - markup = g_strdup_printf ("%s (<span style=\"italic\">%s</span>).", + w = gtk_label_new ( _("Empathy can automatically discover and chat with the people " "connected on the same network as you. " "If you want to use this feature, please check that the " - "details below are correct. " - "You can easily change these details later or disable this feature " - "by using the 'Accounts' dialog"), - _("Edit->Accounts")); - gtk_label_set_markup (GTK_LABEL (w), markup); - g_free (markup); + "details below are correct.")); gtk_misc_set_alignment (GTK_MISC (w), 0, 0.5); gtk_label_set_line_wrap (GTK_LABEL (w), TRUE); gtk_grid_attach (GTK_GRID (self), w, 0, 0, 1, 1); @@ -182,6 +176,19 @@ empathy_local_xmpp_assistant_widget_constructed (GObject *object) gtk_grid_attach (GTK_GRID (self), account_widget, 0, 1, 2, 1); gtk_widget_show (account_widget); + + w = gtk_label_new (NULL); + markup = g_strdup_printf ( + "<span size=\"small\">%s</span>", + _("You can change these details later or disable this feature " + "by choosing <span style=\"italic\">Edit → Accounts</span> " + "in the Contact List.")); + gtk_label_set_markup (GTK_LABEL (w), markup); + g_free (markup); + gtk_misc_set_alignment (GTK_MISC (w), 0, 0.5); + gtk_label_set_line_wrap (GTK_LABEL (w), TRUE); + gtk_grid_attach (GTK_GRID (self), w, 0, 2, 2, 1); + gtk_widget_show (w); } static void |