Composer.Widget: Do not set double dot after 'From' label

We do not set double dots after the other labels so remove it for the
'From' label as well.
Therefore, adjust the .ui file to have the right label (with the
mnemonic underscore) and remove the adjustment of it in code.
This commit is contained in:
Björn Daase 2020-03-28 12:07:16 +01:00
parent 4285cafa01
commit dbfa640e76
2 changed files with 1 additions and 4 deletions

View file

@ -2496,9 +2496,6 @@ public class Composer.Widget : Gtk.EventBox, Geary.BaseInterface {
this.from_row.visible = true;
this.from_label.set_mnemonic_widget(this.from_multiple);
// Composer label (with mnemonic underscore) for the account selector
// when choosing what address to send a message from.
this.from_label.set_text_with_mnemonic(_("_From:"));
this.from_multiple.visible = true;
this.from_multiple.remove_all();

View file

@ -57,7 +57,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes" comments="Geary account mail will be sent from">From</property>
<property name="label" translatable="yes" comments="Geary account mail will be sent from">_From</property>
<property name="use_underline">True</property>
<property name="justify">right</property>
<property name="mnemonic_widget">to_box</property>