[gnome-music: 1/2] fix to #111, removed redundant code.



commit c7b6894b68d2b429271a64a9784504847454ac53
Author: Sai <suman sai14 gmail com>
Date:   Sat Jul 27 02:16:21 2013 +0530

    fix to #111, removed redundant code.

 gnomemusic/widgets.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index 6d486e8..033e538 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -164,10 +164,6 @@ class AlbumWidget(Gtk.EventBox):
     def update(self, artist, album, item, header_bar, selection_toolbar):
         self.selection_toolbar = selection_toolbar
         self.header_bar = header_bar
-        released_date = item.get_publication_date()
-        if released_date:
-            self.ui.get_object("released_label_info").set_text(
-                str(released_date.get_year()))
         self.album = album
         self.ui.get_object("cover").set_from_pixbuf(self._symbolicIcon)
         ALBUM_ART_CACHE.lookup(256, artist,


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