[evolution] Bug #637923 - Wrap long text in Yahoo email setup



commit 7f62e90b69439cdbae6e6e0716e75bb4bc2e34e2
Author: Frederic Crozat <fred crozat net>
Date:   Fri Feb 11 13:34:17 2011 +0100

    Bug #637923 - Wrap long text in Yahoo email setup

 capplet/settings/mail-account-view.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/capplet/settings/mail-account-view.c b/capplet/settings/mail-account-view.c
index 9c75e6b..c099186 100644
--- a/capplet/settings/mail-account-view.c
+++ b/capplet/settings/mail-account-view.c
@@ -764,6 +764,8 @@ mav_next_pressed (GtkButton *button, MailAccountView *mav)
 			gtk_toggle_button_set_active ((GtkToggleButton *)mav->priv->calendar, TRUE);
 
 			mav->priv->gmail_info_label = gtk_label_new (_("Yahoo calendars are named as firstname_lastname. We have tried to form the calendar name. So please confirm and re-enter the calendar name if it is not correct."));
+			gtk_label_set_line_wrap ((GtkLabel *)mav->priv->gmail_info_label, TRUE);
+			gtk_label_set_line_wrap_mode ((GtkLabel *)mav->priv->gmail_info_label, PANGO_WRAP_WORD);
 			gtk_label_set_selectable ((GtkLabel *)mav->priv->gmail_info_label, TRUE);
 
 			gtk_widget_show (mav->priv->calendar);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]