[gnome-break-timer] Stop using deprecated GtkStock



commit 0df22de2b15d749f92e75fcc4ea41a791733682b
Author: Mathieu Bridon <bochecha fedoraproject org>
Date:   Sat Aug 30 18:02:27 2014 -0700

    Stop using deprecated GtkStock

 settings/BreakSettingsDialog.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/settings/BreakSettingsDialog.vala b/settings/BreakSettingsDialog.vala
index 8932897..5467cfd 100644
--- a/settings/BreakSettingsDialog.vala
+++ b/settings/BreakSettingsDialog.vala
@@ -34,7 +34,7 @@ public class BreakSettingsDialog : Gtk.Dialog {
 
                this.delete_event.connect (this.hide_on_delete);
                
-               this.add_button (Gtk.Stock.CLOSE, Gtk.ResponseType.CLOSE);
+               this.add_button (_("_Close"), Gtk.ResponseType.CLOSE);
                this.response.connect (this.response_cb);
                
                Gtk.Container content_area = (Gtk.Container)this.get_content_area ();
@@ -213,4 +213,4 @@ class FixedSizeGrid : Gtk.Grid {
                }
                return hidden_children;
        }
-}
\ No newline at end of file
+}


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