# HG changeset patch # User Luke Schierer # Date 1090683075 0 # Node ID bb722a78456889070d378e4b49b41e27e869a2fa # Parent 5e1c76f3d23209cafab2bddf3f06229b53e29396 [gaim-migrate @ 10431] " This patch, and associated PNGs in the tar.gz, switches to using PNGs for the chat user status icons. I'd prefer to stick with SVGs, but older GTK 2.0 installs do not have SVG pixbuf loaders as far as I can tell, and I have been unable to get the SVGs to display at all using the new GTK 2.4.3 on Win32." --Stu Tomlinson - nosnilmot committer: Tailor Script diff -r 5e1c76f3d232 -r bb722a784568 pixmaps/status/default/Makefile.am --- a/pixmaps/status/default/Makefile.am Sat Jul 24 15:26:09 2004 +0000 +++ b/pixmaps/status/default/Makefile.am Sat Jul 24 15:31:15 2004 +0000 @@ -7,14 +7,14 @@ dnd.png \ extendedaway.png \ female.png \ - founder.svg \ + founder.png \ freeforchat.png \ gadu-gadu.png \ game.png \ - halfop.svg \ + halfop.png \ hiptop.png \ icq.png \ - ignored.svg \ + ignored.png \ invisible.png \ irc.png \ jabber.png \ @@ -28,12 +28,12 @@ novell.png \ occupied.png \ offline.png \ - op.svg \ + op.png \ rendezvous.png \ secure.png \ silc.png \ trepia.png \ - voice.svg \ + voice.png \ wireless.png \ yahoo.png \ zephyr.png diff -r 5e1c76f3d232 -r bb722a784568 pixmaps/status/default/founder.png Binary file pixmaps/status/default/founder.png has changed diff -r 5e1c76f3d232 -r bb722a784568 pixmaps/status/default/halfop.png Binary file pixmaps/status/default/halfop.png has changed diff -r 5e1c76f3d232 -r bb722a784568 pixmaps/status/default/ignored.png Binary file pixmaps/status/default/ignored.png has changed diff -r 5e1c76f3d232 -r bb722a784568 pixmaps/status/default/op.png Binary file pixmaps/status/default/op.png has changed diff -r 5e1c76f3d232 -r bb722a784568 pixmaps/status/default/voice.png Binary file pixmaps/status/default/voice.png has changed diff -r 5e1c76f3d232 -r bb722a784568 src/gtkconv.c --- a/src/gtkconv.c Sat Jul 24 15:26:09 2004 +0000 +++ b/src/gtkconv.c Sat Jul 24 15:31:15 2004 +0000 @@ -3255,15 +3255,15 @@ char *image = NULL; if (flags & GAIM_CBFLAGS_FOUNDER) { - image = g_strdup("founder.svg"); + image = g_strdup("founder.png"); } else if (flags & GAIM_CBFLAGS_OP) { - image = g_strdup("op.svg"); + image = g_strdup("op.png"); } else if (flags & GAIM_CBFLAGS_HALFOP) { - image = g_strdup("halfop.svg"); + image = g_strdup("halfop.png"); } else if (flags & GAIM_CBFLAGS_VOICE) { - image = g_strdup("voice.svg"); + image = g_strdup("voice.png"); } else if ((!flags) && gaim_conv_chat_is_user_ignored(chat, name)) { - image = g_strdup("ignored.svg"); + image = g_strdup("ignored.png"); } if (image) { filename = g_build_filename(DATADIR, "pixmaps", "gaim", "status", "default", image, NULL); @@ -3275,7 +3275,7 @@ scale = gdk_pixbuf_scale_simple(pixbuf, 15, 15, GDK_INTERP_BILINEAR); g_object_unref(pixbuf); if (flags && gaim_conv_chat_is_user_ignored(chat, name)) { - filename = g_build_filename(DATADIR, "pixmaps", "gaim", "status", "default", "ignored.svg", NULL); + filename = g_build_filename(DATADIR, "pixmaps", "gaim", "status", "default", "ignored.png", NULL); pixbuf = gdk_pixbuf_new_from_file(filename, NULL); g_free(filename); scale2 = gdk_pixbuf_scale_simple(pixbuf, 15, 15, GDK_INTERP_BILINEAR);