rhythmbox r5819 - in trunk: . plugins/artdisplay/artdisplay
- From: teuf svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r5819 - in trunk: . plugins/artdisplay/artdisplay
- Date: Sat, 26 Jul 2008 23:07:12 +0000 (UTC)
Author: teuf
Date: Sat Jul 26 23:07:11 2008
New Revision: 5819
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5819&view=rev
Log:
Add padding at the top and the bottom of the artdisplay widget
Modified:
trunk/ChangeLog
trunk/plugins/artdisplay/artdisplay/__init__.py
Modified: trunk/plugins/artdisplay/artdisplay/__init__.py
==============================================================================
--- trunk/plugins/artdisplay/artdisplay/__init__.py (original)
+++ trunk/plugins/artdisplay/artdisplay/__init__.py Sat Jul 26 23:07:11 2008
@@ -342,7 +342,9 @@
self.art_widget = ArtDisplayWidget (self.find_file (ART_MISSING_ICON + ".svg"))
self.art_widget.connect ('pixbuf-dropped', self.on_set_pixbuf)
self.art_widget.connect ('uri-dropped', self.on_set_uri)
- shell.add_widget (self.art_widget, rb.SHELL_UI_LOCATION_SIDEBAR)
+ self.art_container = gtk.VBox ()
+ self.art_container.pack_start (self.art_widget, padding=6)
+ shell.add_widget (self.art_container, rb.SHELL_UI_LOCATION_SIDEBAR)
self.art_db = CoverArtDatabase ()
self.current_entry, self.current_pixbuf = None, None
self.playing_entry_changed (sp, sp.get_playing_entry ())
@@ -377,7 +379,7 @@
db = self.shell.get_property ("db")
self.art_widget.set (entry, None, None, True)
- self.art_widget.show ()
+ self.art_container.show_all ()
# Intitates search in the database (which checks art cache, internet etc.)
self.current_entry = entry
self.current_pixbuf = None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]