[gnome-boxes] sidebar: Fix regression of wizard labels not changing style



commit 8699a0ab6cb38ed637e1a74e01254c8190580a4a
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Feb 5 15:51:29 2014 +0000

    sidebar: Fix regression of wizard labels not changing style
    
    This regression from commit d01202a1f7daa1de1dfd88aacf64c29325467b8a also
    meant many criticals on the console.

 src/sidebar.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sidebar.vala b/src/sidebar.vala
index 3cde1ea..0f05bce 100644
--- a/src/sidebar.vala
+++ b/src/sidebar.vala
@@ -57,7 +57,7 @@ private class Boxes.Sidebar: Gtk.Notebook, Boxes.UI {
             label.get_style_context ().remove_class ("boxes-wizard-current-page-label");
 
         Gtk.Label current_label = null;
-        switch ((int) page_num) {
+        switch ((int) wizard_page) {
         case WizardPage.INTRODUCTION:
             current_label = wizard_intro_label;
             break;


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