[gnome-chess] Add a resign button



commit d057b32952d9bfac51d32e182229b3df57789c16
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Apr 7 19:04:46 2014 -0500

    Add a resign button
    
    https://bugzilla.gnome.org/show_bug.cgi?id=727345

 data/gnome-chess.ui |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/data/gnome-chess.ui b/data/gnome-chess.ui
index bc76d62..ed0fb81 100644
--- a/data/gnome-chess.ui
+++ b/data/gnome-chess.ui
@@ -67,6 +67,27 @@
           </object>
         </child>
         <child>
+          <object class="GtkButton" id="resign_game_button">
+            <property name="visible">True</property>
+            <property name="valign">center</property>
+            <property name="action-name">win.resign</property>
+            <property name="tooltip-text" translatable="yes">Resign to your opponent</property>
+            <style>
+              <class name="image-button"/>
+            </style>
+            <child>
+              <object class="GtkImage" id="resign_image">
+                <property name="visible">True</property>
+                <property name="icon_size">1</property>
+                <property name="icon_name">face-sad-symbolic</property>
+              </object>
+            </child>
+          </object>
+          <packing>
+            <property name="pack_type">end</property>
+          </packing>
+        </child>
+        <child>
           <object class="GtkButton" id="save_game_button">
             <property name="visible">True</property>
             <property name="valign">center</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]