aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2009-07-13 19:21:13 +0800
committerMilan Crha <mcrha@redhat.com>2009-07-13 19:21:13 +0800
commit20eb5531ebbb07a6f7407414915f8bdb2acbb88a (patch)
treec7ed4c844600f813ff1db6922c9ba9edcbd29e92 /plugins
parent0274669179600ac77475eed9870d2eab52c2cf14 (diff)
downloadgsoc2013-evolution-20eb5531ebbb07a6f7407414915f8bdb2acbb88a.tar.gz
gsoc2013-evolution-20eb5531ebbb07a6f7407414915f8bdb2acbb88a.tar.zst
gsoc2013-evolution-20eb5531ebbb07a6f7407414915f8bdb2acbb88a.zip
Bug #586958 - Too long texts instartup wizard
[PATCH 1/2] [restore-backup] Make intro text wrap The introductory text to the 'Restore from backup' page is too long, especially in some languages. This patch wraps the label as other labels in the startup wizard are wrapped. [PATCH 2/2] Don't break long labels unnecessarily A few strings had unnecessary end lines in them, which fight with the natural line-wrap algorithm.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/backup-restore/backup-restore.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/backup-restore/backup-restore.c b/plugins/backup-restore/backup-restore.c
index 860a70a3d5..79221d4573 100644
--- a/plugins/backup-restore/backup-restore.c
+++ b/plugins/backup-restore/backup-restore.c
@@ -286,7 +286,9 @@ backup_restore_page (EPlugin *ep, EConfigHookItemFactoryData *hook_data)
page = gnome_druid_page_standard_new_with_vals (_("Restore from backup"), NULL, NULL);
hbox = gtk_hbox_new (FALSE, 6);
- label = gtk_label_new (_("You can restore Evolution from your backup. It can restore all the Mails, Calendars, Tasks, Memos, Contacts. \nIt also restores all your personal settings, mail filters etc."));
+ label = gtk_label_new (_("You can restore Evolution from your backup. It can restore all the Mails, Calendars, Tasks, Memos, Contacts. It also restores all your personal settings, mail filters etc."));
+ gtk_label_set_line_wrap ((GtkLabel *)label, TRUE);
+ gtk_label_set_single_line_mode ((GtkLabel *)label, FALSE);
gtk_box_pack_start ((GtkBox *)hbox, label, FALSE, FALSE, 6);
box = gtk_vbox_new (FALSE, 6);
gtk_box_pack_start ((GtkBox *)box, hbox, FALSE, FALSE, 0);