[evolution-ews] evo-I#568 - Set GtkLabel's width-chars when using line-wrap



commit 000e655a3a301720d59be13e6dd9182529187c06
Author: Milan Crha <mcrha redhat com>
Date:   Thu Aug 8 17:21:13 2019 +0200

    evo-I#568 - Set GtkLabel's width-chars when using line-wrap
    
    Related to https://gitlab.gnome.org/GNOME/evolution/issues/568

 src/configuration/e-mail-config-ews-delegates-page.c | 2 ++
 src/configuration/e-mail-config-ews-ooo-page.c       | 1 +
 2 files changed, 3 insertions(+)
---
diff --git a/src/configuration/e-mail-config-ews-delegates-page.c 
b/src/configuration/e-mail-config-ews-delegates-page.c
index b802e062..c75c43fc 100644
--- a/src/configuration/e-mail-config-ews-delegates-page.c
+++ b/src/configuration/e-mail-config-ews-delegates-page.c
@@ -1053,6 +1053,7 @@ mail_config_ews_delegates_page_constructed (GObject *object)
                "responding to meeting requests. If you want to grant folder "
                "permissions without giving send-on-behalf-of permissions, close this "
                "dialog box, right-click the folder, click Permissions and change the options there."));
+       gtk_label_set_width_chars (GTK_LABEL (widget), 20);
        gtk_label_set_max_width_chars (GTK_LABEL (widget), 80);
        gtk_label_set_line_wrap (GTK_LABEL (widget), TRUE);
        gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
@@ -1101,6 +1102,7 @@ mail_config_ews_delegates_page_constructed (GObject *object)
        widget = gtk_label_new (
                _("Deliver meeting requests addressed to me and responses to meeting "
                "requests where I am the organizer to:"));
+       gtk_label_set_width_chars (GTK_LABEL (widget), 20);
        gtk_label_set_max_width_chars (GTK_LABEL (widget), 80);
        gtk_label_set_line_wrap (GTK_LABEL (widget), TRUE);
        gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
diff --git a/src/configuration/e-mail-config-ews-ooo-page.c b/src/configuration/e-mail-config-ews-ooo-page.c
index 28580ce6..3f3ff42b 100644
--- a/src/configuration/e-mail-config-ews-ooo-page.c
+++ b/src/configuration/e-mail-config-ews-ooo-page.c
@@ -412,6 +412,7 @@ mail_config_ews_ooo_page_constructed (GObject *object)
        text = _("The messages specified below will be automatically sent to "
                 "each internal and external person who sends a mail to you.");
        widget = gtk_label_new (text);
+       gtk_label_set_width_chars (GTK_LABEL (widget), 20);
        gtk_label_set_max_width_chars (GTK_LABEL (widget), 80);
        gtk_label_set_line_wrap (GTK_LABEL (widget), TRUE);
        gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);


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