[gnome-documents] docfactory: ensure we ask for the right pixbuf size



commit 97ba67f05b6a189d13ff402930ff880e485bd239
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Aug 26 14:50:22 2011 -0400

    docfactory: ensure we ask for the right pixbuf size

 src/docFactory.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/docFactory.js b/src/docFactory.js
index 3027011..a91777e 100644
--- a/src/docFactory.js
+++ b/src/docFactory.js
@@ -119,7 +119,7 @@ DocCommon.prototype = {
 
             try {
                 let iconInfo = theme.lookup_by_gicon(emblemedIcon,
-                                                     this.pixbuf.get_width(),
+                                                     this.pixbuf.get_height(),
                                                      Gtk.IconLookupFlags.FORCE_SIZE);
                 this.pixbuf = iconInfo.load_icon();
             } catch (e) {



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