[gnome-boxes/gnome-3-8] Fix underline char in "Done" selection button



commit f540c6e59680d51634acd448e91d945659b9c718
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Tue Apr 23 13:05:18 2013 +0200

    Fix underline char in "Done" selection button
    
    In commit "Make sure wizard buttons use underlined chars", I missed
    the "Done" button which exits from the selection mode. This commit
    fixes it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=698287

 src/topbar.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/topbar.vala b/src/topbar.vala
index b8b15a4..476d12c 100644
--- a/src/topbar.vala
+++ b/src/topbar.vala
@@ -109,6 +109,9 @@ private class Boxes.Topbar: Boxes.UI {
         search2_btn.bind_property ("active", App.app.searchbar, "visible", BindingFlags.BIDIRECTIONAL);
 
         done_btn = selection_toolbar.add_button (null, _("D_one"), false) as Gtk.Button;
+        done_btn.use_underline = true;
+        // workaround for libgd bug #698289
+        done_btn.label = _("D_one");
         done_btn.get_style_context().add_class("suggested-action");
         done_btn.use_stock = true;
         done_btn.clicked.connect (() => {


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