[gnome-boxes] Rename selection mode button to "Done"



commit f755c751deccb3fac28449821c6a9178113d2c4a
Author: Alexander Larsson <alexl redhat com>
Date:   Wed Sep 26 14:47:03 2012 +0200

    Rename selection mode button to "Done"
    
    This is how the mockups and gnome-documents does it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=674671

 src/topbar.vala |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/topbar.vala b/src/topbar.vala
index 5c38a49..6d33125 100644
--- a/src/topbar.vala
+++ b/src/topbar.vala
@@ -18,7 +18,7 @@ private class Boxes.Topbar: Boxes.UI {
     private Gtk.Spinner spinner;
     private Gtk.ToggleButton search_btn;
     private Gtk.Button select_btn;
-    private Gtk.Button cancel_btn;
+    private Gtk.Button done_btn;
     private Gtk.Button back_btn;
     private Gtk.Button new_btn;
     private Gd.MainToolbar selection_toolbar;
@@ -87,10 +87,10 @@ private class Boxes.Topbar: Boxes.UI {
 
         update_selection_label ();
 
-        cancel_btn = selection_toolbar.add_button (null, _("_Cancel"), false) as Gtk.Button;
-        cancel_btn.get_style_context().add_class("suggested-action");
-        cancel_btn.use_stock = true;
-        cancel_btn.clicked.connect (() => {
+        done_btn = selection_toolbar.add_button (null, _("_Done"), false) as Gtk.Button;
+        done_btn.get_style_context().add_class("suggested-action");
+        done_btn.use_stock = true;
+        done_btn.clicked.connect (() => {
             App.app.selection_mode = false;
         });
 



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