[gdm-list] [PATCH] Fix translations of the Cancel button



Use a stock GTK Cancel button instead of a custom one, fixing
translations. This was broken in 706a532d.
---
 gui/simple-greeter/gdm-greeter-login-window.ui |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gui/simple-greeter/gdm-greeter-login-window.ui b/gui/simple-greeter/gdm-greeter-login-window.ui
index d8cf1cc..edddf66 100644
--- a/gui/simple-greeter/gdm-greeter-login-window.ui
+++ b/gui/simple-greeter/gdm-greeter-login-window.ui
@@ -236,9 +236,10 @@
                     <property name="layout_style">end</property>
                     <child>
                       <object class="GtkButton" id="cancel-button">
-                        <property name="label">Cancel</property>
+                        <property name="label">gtk-cancel</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
+                        <property name="use_stock">True</property>
                       </object>
                       <packing>
                         <property name="expand">False</property>
-- 
1.7.2.3




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