changeset 2716:48274976c79b

[gaim-migrate @ 2729] fine committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 14 Nov 2001 10:48:08 +0000
parents e901fd3ebbad
children 03bf072c6238
files src/applet.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/applet.c	Wed Nov 14 06:20:56 2001 +0000
+++ b/src/applet.c	Wed Nov 14 10:48:08 2001 +0000
@@ -448,7 +448,11 @@
 		pm = gdk_pixmap_create_from_xpm_d(applet->window, NULL,
 				&applet->style->bg[GTK_WIDGET_STATE(applet)], aimicon_xpm);
 	icon = gtk_pixmap_new(pm, NULL);
-	gtk_widget_set_usize(icon, sizehint, sizehint);
+#ifdef HAVE_PANEL_PIXEL_SIZE
+	gtk_widget_set_usize(icon, 5, 5);
+#else
+	gtk_widget_set_usize(icon, 48, 48);
+#endif
 	gdk_pixmap_unref(pm);
 	applet_widget_add(APPLET_WIDGET(applet), icon);