[gnome-music] Add separator to the side of artistpanel
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Add separator to the side of artistpanel
- Date: Tue, 7 May 2013 17:09:03 +0000 (UTC)
commit ec17e2ed559f0908ae8641a9c2cf9cd2335f6fe0
Author: Seif Lotfy <seif lotfy com>
Date: Tue May 7 19:08:31 2013 +0200
Add separator to the side of artistpanel
data/application.css | 4 ++++
src/view.js | 6 +++---
2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/data/application.css b/data/application.css
index 0354094..287dce1 100644
--- a/data/application.css
+++ b/data/application.css
@@ -12,6 +12,10 @@
@define-color music_selection_button_dark_b #1c1c1c;
@define-color music_selection_box_dark_border #3e7b05;
+.artist-panel {
+ color: #FF00FF;
+}
+
.play-bar {
border-width: 1px 0 0;
border-style: solid;
diff --git a/src/view.js b/src/view.js
index b3a007c..1256a00 100644
--- a/src/view.js
+++ b/src/view.js
@@ -410,14 +410,14 @@ const Artists = new Lang.Class({
this.view.set_view_type(Gd.MainViewType.LIST);
this.view.set_hexpand(false);
this._artistAlbumsWidget.set_hexpand(true);
- //this._artistAlbumsWidget.get_style_context().add_class("view");
- //this._artistAlbumsWidget.get_style_context().add_class("content-view");
+ this.view.get_style_context().add_class("artist-panel");
var scrolledWindow = new Gtk.ScrolledWindow();
scrolledWindow.set_policy(
Gtk.PolicyType.NEVER,
Gtk.PolicyType.AUTOMATIC);
scrolledWindow.add(this._artistAlbumsWidget);
- this._grid.attach(scrolledWindow, 1, 0, 1, 1);
+ this._grid.attach(new Gtk.Separator({orientation: Gtk.Orientation.VERTICAL}), 1, 0, 1, 1)
+ this._grid.attach(scrolledWindow, 2, 0, 1, 1);
this._addListRenderers();
this.show_all();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]