diff options
author | Nicolas Delvaux <nicolas.delvaux@gmx.com> | 2011-04-16 20:14:07 +0200 |
---|---|---|
committer | Nicolas Delvaux <nicolas.delvaux@gmx.com> | 2011-04-16 20:14:07 +0200 |
commit | 19f28a5707785dbb609a0b2185053b54a6369dfa (patch) | |
tree | ae8477efd603b62faba216f004eaa1110a180cd4 /src/metadata-widget.c | |
parent | 27708ccbbfa599955effc46d5ea155a08caf7d59 (diff) | |
download | ayatana-indicator-sound-19f28a5707785dbb609a0b2185053b54a6369dfa.tar.gz ayatana-indicator-sound-19f28a5707785dbb609a0b2185053b54a6369dfa.tar.bz2 ayatana-indicator-sound-19f28a5707785dbb609a0b2185053b54a6369dfa.zip |
Fix a regression when calling "draw_album_art_placeholder" after diplaying one of those famous non-square cover.
Diffstat (limited to 'src/metadata-widget.c')
-rw-r--r-- | src/metadata-widget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/metadata-widget.c b/src/metadata-widget.c index a61e94e..38ed529 100644 --- a/src/metadata-widget.c +++ b/src/metadata-widget.c @@ -195,6 +195,7 @@ metadata_image_expose (GtkWidget *metadata, GdkEventExpose *event, gpointer user // priv->image_path->str); if(GDK_IS_PIXBUF(pixbuf) == FALSE){ //g_debug("problem loading the downloaded image just use the placeholder instead"); + gtk_widget_set_size_request(GTK_WIDGET(priv->album_art), 60, 60); draw_album_art_placeholder(metadata); return TRUE; } @@ -210,6 +211,7 @@ metadata_image_expose (GtkWidget *metadata, GdkEventExpose *event, gpointer user } return FALSE; } + gtk_widget_set_size_request(GTK_WIDGET(priv->album_art), 60, 60); draw_album_art_placeholder(metadata); return TRUE; } |