[gnome-boxes] Use the right style classes for selection mode.



commit 43832a8d5e4d1c489e95f44bb9786f12f7da79d6
Author: Alexander Larsson <alexl redhat com>
Date:   Wed Sep 26 14:45:15 2012 +0200

    Use the right style classes for selection mode.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=674671

 src/topbar.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/topbar.vala b/src/topbar.vala
index 402ac26..5c38a49 100644
--- a/src/topbar.vala
+++ b/src/topbar.vala
@@ -81,12 +81,14 @@ private class Boxes.Topbar: Boxes.UI {
         hbox = new Gtk.HBox (false, 0);
         notebook.append_page (hbox, null);
         selection_toolbar = new Gd.MainToolbar ();
+        selection_toolbar.get_style_context ().add_class ("selection-mode");
         selection_toolbar.get_style_context ().add_class (Gtk.STYLE_CLASS_MENUBAR);
         hbox.pack_start (selection_toolbar, true, true, 0);
 
         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 (() => {
             App.app.selection_mode = false;



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