[california/wip/735421-background] Proposed fix.
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [california/wip/735421-background] Proposed fix.
- Date: Wed, 3 Sep 2014 22:43:25 +0000 (UTC)
commit 7c34b5ea5d5719edaf411d56347afa5d5b9f38ea
Author: Jim Nelson <jim yorba org>
Date: Wed Sep 3 15:42:32 2014 -0700
Proposed fix.
src/host/host-show-event.vala | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/src/host/host-show-event.vala b/src/host/host-show-event.vala
index 5d40370..cc1ab59 100644
--- a/src/host/host-show-event.vala
+++ b/src/host/host-show-event.vala
@@ -118,6 +118,19 @@ public class ShowEvent : Gtk.Grid, Toolkit.Card {
Calendar.System.instance.today_changed.disconnect(build_display);
}
+#if ENABLE_UNITY
+ // When description_text_window is visible, the entire GtkGrid's background color goes black
+ // in the GtkPopover; this overrides the color and uses GtkPopover's background color for the
+ // GtkGrid. See:
+ // https://bugzilla.gnome.org/show_bug.cgi?id=735421
+ public override void realize() {
+ base.realize();
+
+ Gdk.RGBA bg = get_toplevel().get_style_context().get_background_color(Gtk.StateFlags.NORMAL);
+ override_background_color(Gtk.StateFlags.NORMAL, bg);
+ }
+#endif
+
public void jumped_to(Toolkit.Card? from, Toolkit.Card.Jump reason, Value? message) {
// no message, don't update display
if (message == null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]