[gnome-weather] Use content view class on forecast sidebar
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-weather] Use content view class on forecast sidebar
- Date: Wed, 6 Mar 2013 22:26:20 +0000 (UTC)
commit 53ebf60442a9359e6789a68624f50c46cbd5e75a
Author: William Jon McCann <william jon mccann gmail com>
Date: Wed Mar 6 12:05:36 2013 -0500
Use content view class on forecast sidebar
So we can get a noise texture background.
https://bugzilla.gnome.org/show_bug.cgi?id=695313
src/forecast.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/forecast.js b/src/forecast.js
index 90a1ddc..3230dcc 100644
--- a/src/forecast.js
+++ b/src/forecast.js
@@ -143,6 +143,10 @@ const TodaySidebar = new Lang.Class({
params = Params.fill(params, { hscrollbar_policy: Gtk.PolicyType.NEVER });
this.parent(params);
+ let context = this.get_style_context();
+ context.add_class('view');
+ context.add_class('content-view');
+
this._settings = new Gio.Settings({ schema: 'org.gnome.desktop.interface' });
this._grid = new Gtk.Grid({ column_spacing: 6,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]