[gnome-shell] [AppIcon] Make sure small icons still get full-sized AppIcon actors



commit fa316ddd3d40cd77111d37a8884c9a2664ca59e2
Author: Dan Winship <danw gnome org>
Date:   Fri Sep 18 12:03:45 2009 -0400

    [AppIcon] Make sure small icons still get full-sized AppIcon actors

 js/ui/appIcon.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/appIcon.js b/js/ui/appIcon.js
index 5ca1cfd..1cd2eca 100644
--- a/js/ui/appIcon.js
+++ b/js/ui/appIcon.js
@@ -37,7 +37,9 @@ AppIcon.prototype = {
 
         let iconBox = new Big.Box({ orientation: Big.BoxOrientation.VERTICAL,
                                     x_align: Big.BoxAlignment.CENTER,
-                                    y_align: Big.BoxAlignment.CENTER });
+                                    y_align: Big.BoxAlignment.CENTER,
+                                    width: APP_ICON_SIZE,
+                                    height: APP_ICON_SIZE });
         this.icon = appInfo.create_icon_texture(APP_ICON_SIZE);
         iconBox.append(this.icon, Big.BoxPackFlags.NONE);
 



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