[gnome-music/wip/merge: 238/343] Merge pull request #41 from roignac/artist_view



commit 8fceb8b108575caa731517c770d6a8fb10982418
Merge: bc783ae e22d041
Author: Seif Lotfy <seif lotfy com>
Date:   Wed Jul 17 11:30:28 2013 -0700

    Merge pull request #41 from roignac/artist_view
    
    Artist view

 gnomemusic/albumArtCache.py |    8 ++--
 gnomemusic/application.py   |    9 +++-
 gnomemusic/view.py          |   37 +++-----------
 gnomemusic/widgets.py       |  117 ++++++++++++++++++------------------------
 4 files changed, 69 insertions(+), 102 deletions(-)
---
diff --cc gnomemusic/application.py
index f4790b4,f5b9bf9..93c079a
--- a/gnomemusic/application.py
+++ b/gnomemusic/application.py
@@@ -6,9 -6,17 +6,16 @@@ class Application(Gtk.Application)
      def __init__(self):
          Gtk.Application.__init__(self,
                                   application_id='org.gnome.Music',
 -                                 flags=Gio.ApplicationFlags.FLAGS_NONE,
 -                                 inactivity_timeout=12000)
 +                                 flags=Gio.ApplicationFlags.FLAGS_NONE)
          GLib.set_application_name("Music")
  
+         cssProvider = Gtk.CssProvider()
+         cssProvider.load_from_path('data/application.css')
+         screen = Gdk.Screen.get_default()
+         styleContext = Gtk.StyleContext()
+         styleContext.add_provider_for_screen(screen, cssProvider,
+                                              Gtk.STYLE_PROVIDER_PRIORITY_USER)
+ 
      def do_startup(self):
          Gtk.Application.do_startup(self)
  


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