[gnome-boxes] selectionbar: Remove usage of stock items



commit 4524a5fad3296b9bb7d7cc74c15f6b3bf398687f
Author: Arnel A. Borja <arnelborja src gnome org>
Date:   Thu Aug 29 23:58:36 2013 +0800

    selectionbar: Remove usage of stock items
    
    Remove usage of stock items which are now deprecated.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706818

 src/selectionbar.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/selectionbar.vala b/src/selectionbar.vala
index 5d0e880..90e0b8d 100644
--- a/src/selectionbar.vala
+++ b/src/selectionbar.vala
@@ -50,13 +50,13 @@ private class Boxes.Selectionbar: Gtk.Revealer {
            App.app.selection_mode = false;
         });
 
-        remove_btn = new Gtk.Button.from_stock (Gtk.Stock.DELETE);
+        remove_btn = new Gtk.Button.with_mnemonic (_("_Delete"));
         headerbar.pack_start (remove_btn);
         remove_btn.clicked.connect (() => {
             App.app.remove_selected_items ();
         });
 
-        properties_btn = new Gtk.Button.from_stock (Gtk.Stock.PROPERTIES);
+        properties_btn = new Gtk.Button.with_mnemonic (_("_Properties"));
         headerbar.pack_end (properties_btn);
         properties_btn.clicked.connect (() => {
             App.app.show_properties ();


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