diff --git a/Mailnag/plugins/spamfilterplugin.py b/Mailnag/plugins/spamfilterplugin.py index 0433b04..ccfd515 100644 --- a/Mailnag/plugins/spamfilterplugin.py +++ b/Mailnag/plugins/spamfilterplugin.py @@ -90,9 +90,10 @@ class SpamfilterPlugin(Plugin): box.set_orientation(Gtk.Orientation.VERTICAL) #box.set_size_request(100, -1) - desc = _('Mailnag will ignore mails containing at least one of \nthe following words in subject or sender.') + desc = _('Mailnag will ignore mails containing at least one of the following words in sender or subject.') label = Gtk.Label(desc) + label.set_xalign(0.0) label.set_line_wrap(True) #label.set_size_request(100, -1); box.pack_start(label, False, False, 0) diff --git a/Mailnag/plugins/userscriptplugin.py b/Mailnag/plugins/userscriptplugin.py index 9511ec9..0476d89 100644 --- a/Mailnag/plugins/userscriptplugin.py +++ b/Mailnag/plugins/userscriptplugin.py @@ -84,11 +84,12 @@ class UserscriptPlugin(Plugin): #box.set_size_request(100, -1) markup_str = "<%s> <%s> <%s>" % (_('account'), _('sender'), _('subject')) - desc = _( "The following script will be executed whenever new mails arrive.\n" - "Mailnag passes the total count of new mails to this script,\n" + desc = _( "The following script will be executed whenever new mails arrive. " + "Mailnag passes the total count of new mails to this script, " "followed by %s sequences.") % markup_str label = Gtk.Label() + label.set_xalign(0.0) label.set_line_wrap(True) label.set_markup(desc) #label.set_size_request(100, -1);