[gnome-music] search: center results and request 530px width



commit 37db41937cc42ec8c43c104134888c685a9e07bd
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Thu Aug 14 14:48:02 2014 +0200

    search: center results and request 530px width
    
    https://bugzilla.gnome.org/show_bug.cgi?id=734786

 data/application.css |    2 ++
 gnomemusic/view.py   |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/data/application.css b/data/application.css
index d46121f..d28faad 100644
--- a/data/application.css
+++ b/data/application.css
@@ -146,3 +146,5 @@ GtkTreeView{
     font-weight: bold;
     color: mix (@theme_fg_color, @theme_bg_color, 0.50);    
 }
+
+.content-view { background-color: @theme_bg; }
\ No newline at end of file
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index 2beb73d..c6dc900 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -1200,6 +1200,8 @@ class Search(ViewContainer):
     @log
     def __init__(self, window, player):
         ViewContainer.__init__(self, 'search', None, window, Gd.MainViewType.LIST)
+        self.view.set_halign(Gtk.Align.CENTER)
+        self.view.set_size_request(530, -1)
         self._items = {}
         self.isStarred = None
         self.iter_to_clean = None


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