X-Git-Url: https://git.0d.be/?p=empathy.git;a=blobdiff_plain;f=libempathy-gtk%2Fempathy-local-xmpp-assistant-widget.c;h=3a6c8ee1c9d18b451809134d71fb30a0db1fd0bb;hp=a0e4721032a56a085a890f621b14225fcee837ad;hb=2bfe326976653cd35b6f4af943746df084a9dad2;hpb=1b0f008d221ade82446926ccf6a5bd1e774b3026 diff --git a/libempathy-gtk/empathy-local-xmpp-assistant-widget.c b/libempathy-gtk/empathy-local-xmpp-assistant-widget.c index a0e47210..3a6c8ee1 100644 --- a/libempathy-gtk/empathy-local-xmpp-assistant-widget.c +++ b/libempathy-gtk/empathy-local-xmpp-assistant-widget.c @@ -146,23 +146,17 @@ 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 (%s).", + 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); gtk_widget_show (w); - pix = empathy_pixbuf_from_icon_name_sized ("im-local-xmpp", 80); + pix = empathy_pixbuf_from_icon_name_sized ("im-local-xmpp", 48); w = gtk_image_new_from_pixbuf (pix); gtk_grid_attach (GTK_GRID (self), w, 1, 0, 1, 1); gtk_widget_show (w); @@ -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 ( + "%s", + _("You can change these details later or disable this feature " + "by choosing Edit → Accounts " + "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 @@ -220,7 +227,7 @@ GtkWidget * empathy_local_xmpp_assistant_widget_new () { return g_object_new (EMPATHY_TYPE_LOCAL_XMPP_ASSISTANT_WIDGET, - "row-spacing", 6, + "row-spacing", 12, NULL); }