[gnome-boxes] Fix underline char in "Done" selection button
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Fix underline char in "Done" selection button
- Date: Tue, 23 Apr 2013 17:43:29 +0000 (UTC)
commit 01b104c6453c118b17ac64124597220d45a81d90
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]