Set composer indent icons in UI file, now that GTK handles RTL. Bug 769533.

This commit is contained in:
Michael James Gratton 2016-08-06 00:49:47 +10:00 committed by Michael Gratton
parent 509b669532
commit 521c0c4332
2 changed files with 2 additions and 3 deletions

View file

@ -396,9 +396,6 @@ public class ComposerWidget : Gtk.EventBox {
bcc_entry.changed.connect(validate_send_button);
reply_to_entry.changed.connect(validate_send_button);
actions.get_action(ACTION_INDENT).icon_name = "format-indent-more-symbolic";
actions.get_action(ACTION_OUTDENT).icon_name = "format-indent-less-symbolic";
composer_toolbar = new ComposerToolbar(actions, menu);
Gtk.Alignment toolbar_area = (Gtk.Alignment) builder.get_object("toolbar area");
toolbar_area.add(composer_toolbar);

View file

@ -79,12 +79,14 @@
<child>
<object class="GtkAction" id="indent">
<property name="tooltip" translatable="yes">Quote text (Ctrl+])</property>
<property name="icon_name">format-indent-more-symbolic</property>
</object>
<accelerator key="bracketright" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
<object class="GtkAction" id="outdent">
<property name="tooltip" translatable="yes">Unquote text (Ctrl+[)</property>
<property name="icon_name">format-indent-less-symbolic</property>
</object>
<accelerator key="bracketleft" modifiers="GDK_CONTROL_MASK"/>
</child>