Commit 1d8f6507 authored by Arnaud Bonatti's avatar Arnaud Bonatti

Remove a hack.

parent 6590b5e6
......@@ -64,12 +64,19 @@
<property name="visible">True</property>
<property name="halign">center</property>
<property name="valign">center</property>
<!-- Translators: during a game, label of the New Game button (with a mnemonic that appears pressing Alt) -->
<property name="label" translatable="yes">_New Game</property>
<property name="use-underline">True</property>
<property name="action-name">ui.new-game</property>
<!-- Translators: during a game, tooltip text of the New Game button -->
<property name="tooltip-text" translatable="yes">Start a new game</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<!-- Translators: during a game, label of the New Game button (with a mnemonic that appears pressing Alt) -->
<property name="label" translatable="yes">_New Game</property>
<property name="ellipsize">end</property> <!-- can happen on small screen with big moves count -->
<property name="mnemonic-widget">new_game_button</property>
<property name="use-underline">True</property>
</object>
</child>
</object>
</child>
</template>
......
......@@ -36,8 +36,6 @@ private class GameHeaderBar : BaseHeaderBar
construct
{
((Label) new_game_button.get_child ()).set_ellipsize (Pango.EllipsizeMode.END); // can happen on small screen with big moves count
generate_moves_menu ();
init_modes ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment