Bug#275215: SVG Icons not loading properly

Emilio Jesús Gallego Arias Emilio Jesús Gallego Arias , 275215@bugs.debian.org
Wed, 15 Dec 2004 05:25:34 +0100


--=-gifyRUpAwpbS6Ugth2kT
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi!

Here's a patch that fixes the problem.

Regards,

Emilio.



--=-gifyRUpAwpbS6Ugth2kT
Content-Disposition: attachment; filename=fix_display_of_big_svg.diff
Content-Type: text/x-patch; name=fix_display_of_big_svg.diff; charset=UTF-8
Content-Transfer-Encoding: 7bit

diff -u gnome-panel-2.8.1/gnome-panel/button-widget.c gnome-panel-2.8.1-emilio/gnome-panel/button-widget.c
--- gnome-panel-2.8.1/gnome-panel/button-widget.c	2004-11-23 18:46:13 +0100
+++ gnome-panel-2.8.1-emilio/gnome-panel/button-widget.c	2004-10-17 07:58:19 +0200
@@ -213,7 +213,7 @@
 						NULL);
 
 /* FIXME: this should be based on the panel size */
-#define PREFERRED_SIZE 48
+#define PREFERRED_SIZE 120 
 		if (button->pixbuf == NULL)
 			button->pixbuf = get_missing (PREFERRED_SIZE);
 #undef PREFERRED_SIZE
@@ -422,7 +422,7 @@
 		    char       **error)
 {
 /* FIXME: this should be based on the panel size */
-#define PREFERRED_SIZE 48
+#define PREFERRED_SIZE 120 
 
 	GdkPixbuf *retval = NULL;

--=-gifyRUpAwpbS6Ugth2kT--