[gnome-control-center] power: don't set content-view style class



commit 073fc07712056db6a25b2e158d42a976e4ee7f47
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Jan 19 13:27:25 2013 -0500

    power: don't set content-view style class
    
    It's not needed, and it gives the panel a different background color.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692093

 panels/power/cc-power-panel.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index be4424c..31c0386 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -2008,7 +2008,5 @@ cc_power_panel_init (CcPowerPanel *self)
   g_object_ref (widget);
   gtk_widget_unparent (widget);
   gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (box), widget);
-  gtk_style_context_add_class (gtk_widget_get_style_context (gtk_widget_get_parent (widget)), "view");
-  gtk_style_context_add_class (gtk_widget_get_style_context (gtk_widget_get_parent (widget)), "content-view");
   g_object_unref (widget);
 }



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