[california/wip/742310-black] Final final.



commit c72583bf52d9adbf8bdc217b45fc83b990fc319c
Author: Jim Nelson <jim yorba org>
Date:   Tue Jan 6 15:43:03 2015 -0800

    Final final.

 src/toolkit/toolkit.vala             |    2 +-
 src/view/month/month-controller.vala |    9 ---------
 2 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/src/toolkit/toolkit.vala b/src/toolkit/toolkit.vala
index a06b38d..029137e 100644
--- a/src/toolkit/toolkit.vala
+++ b/src/toolkit/toolkit.vala
@@ -167,7 +167,7 @@ private void on_state_flags_changed(Gtk.Widget widget, Gtk.StateFlags old_state_
 
 /**
  * When a child GtkScrolledWindow is visible, the entire GtkStack's background color goes black;
- * this overrides the color and uses the toplevel's background color for the Card.  See:
+ * this overrides the color and uses the toplevel's background color for the child widget.  See:
  * https://bugzilla.gnome.org/show_bug.cgi?id=735421
  * and https://bugzilla.gnome.org/show_bug.cgi?id=742310
  */
diff --git a/src/view/month/month-controller.vala b/src/view/month/month-controller.vala
index 67e7a3c..bb284fe 100644
--- a/src/view/month/month-controller.vala
+++ b/src/view/month/month-controller.vala
@@ -31,15 +31,6 @@ public class Controller : BaseObject, View.Controllable {
         public MasterGrid(Controller owner) {
             _owner = owner;
         }
-        
-        public override void add(Gtk.Widget widget) {
-            base.add(widget);
-            
-            widget.realize.connect(() => {
-                Gdk.RGBA bg = 
widget.get_toplevel().get_style_context().get_background_color(Gtk.StateFlags.NORMAL);
-                widget.override_background_color(Gtk.StateFlags.NORMAL, bg);
-            });
-        }
     }
     
     /**


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