[five-or-more] Use text button for new game button
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more] Use text button for new game button
- Date: Mon, 18 Aug 2014 21:43:04 +0000 (UTC)
commit 15f7521797898c6166c318c77adb46f4d620e7f2
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Aug 18 16:40:24 2014 -0500
Use text button for new game button
This actually looks like a button, rather than an unclickable refresh
symbol.
data/five-or-more.ui | 23 +++++++++--------------
1 files changed, 9 insertions(+), 14 deletions(-)
---
diff --git a/data/five-or-more.ui b/data/five-or-more.ui
index feaaade..1806a24 100644
--- a/data/five-or-more.ui
+++ b/data/five-or-more.ui
@@ -71,21 +71,16 @@
<property name="orientation">horizontal</property>
<child>
<object class="GtkButton" id="new_game_button">
- <property name="visible">False</property>
- <property name="can_focus">True</property>
- <property name="relief">GTK_RELIEF_NONE</property>
- <property name="valign">GTK_ALIGN_END</property>
- <property name="action-name">app.new</property>
- <property name="tooltip-text" translatable="yes">Start a new game</property>
- <child>
- <object class="GtkImage" id="new_game_button_image">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="icon-name">view-refresh-symbolic</property>
- <property name="icon-size">6</property>
- </object>
- </child>
- </object>
+ <property name="use_underline">True</property>
+ <property name="label" translatable="yes">_New Game</property>
+ <property name="halign">center</property>
+ <property name="valign">end</property>
+ <property name="action-name">app.new-game</property>
+ <property name="tooltip-text" translatable="yes">Start a new puzzle</property>
+ <property name="width-request">120</property>
+ <property name="height-request">60</property>
+ </object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]