Mercurial > pidgin
changeset 9588:bb722a784568
[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 <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 24 Jul 2004 15:31:15 +0000 |
parents | 5e1c76f3d232 |
children | f4654d3b7b8d |
files | pixmaps/status/default/Makefile.am pixmaps/status/default/founder.png pixmaps/status/default/halfop.png pixmaps/status/default/ignored.png pixmaps/status/default/op.png pixmaps/status/default/voice.png src/gtkconv.c |
diffstat | 7 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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);