[gnome-music] Fixed the background color for both variants of Adwaita.
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Fixed the background color for both variants of Adwaita.
- Date: Thu, 9 May 2013 09:52:38 +0000 (UTC)
commit b70c8b4833bb987d7c38ed2abd9ed72a8c499d92
Author: Sai <suman sai14 gmail com>
Date: Thu May 9 11:59:35 2013 +0530
Fixed the background color for both variants of Adwaita.
Signed-off-by: Seif Lotfy <seif lotfy com>
src/view.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/view.js b/src/view.js
index 91c2ea0..645c31d 100644
--- a/src/view.js
+++ b/src/view.js
@@ -416,6 +416,11 @@ const Artists = new Lang.Class({
this._grid.attach(new Gtk.Separator({orientation: Gtk.Orientation.VERTICAL}), 1, 0, 1, 1)
this._grid.attach(scrolledWindow, 2, 0, 1, 1);
this._addListRenderers();
+ if(Gtk.Settings.get_default().gtk_application_prefer_dark_theme)
+ var color = new Gdk.Color({red:10495,green:9727,blue:10495});
+ else
+ var color = new Gdk.Color({red:55040,green:55808,blue:55040});
+ this.view.get_generic_view().modify_bg(Gtk.StateType.NORMAL,color);
this.show_all();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]