accounts_editor_edit_pane: Add default tooltip to undo button
This commit is contained in:
parent
5a864613b1
commit
daaa10a96a
2 changed files with 2 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ internal class Accounts.EditorEditPane :
|
||||||
Application.Command next_undo = this.commands.peek_undo();
|
Application.Command next_undo = this.commands.peek_undo();
|
||||||
this.undo_button.set_tooltip_text(
|
this.undo_button.set_tooltip_text(
|
||||||
(next_undo != null && next_undo.undo_label != null)
|
(next_undo != null && next_undo.undo_label != null)
|
||||||
? next_undo.undo_label : ""
|
? next_undo.undo_label : _("Undo")
|
||||||
);
|
);
|
||||||
|
|
||||||
// Ensure the account is notified that is has changed. This
|
// Ensure the account is notified that is has changed. This
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@
|
||||||
<object class="GtkButton" id="undo_button">
|
<object class="GtkButton" id="undo_button">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="receives_default">True</property>
|
<property name="receives_default">True</property>
|
||||||
|
<property name="tooltip_text" translatable="yes">Undo</property>
|
||||||
<property name="action_name">edt.undo</property>
|
<property name="action_name">edt.undo</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage">
|
<object class="GtkImage">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue