changeset 29837:45ec328db5bd

The normal category for this file seems to 'ft'.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 25 Apr 2010 21:24:06 +0000
parents 0bc8e250ae0d
children 35cbe4684177
files pidgin/gtkft.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkft.c	Sun Apr 25 21:23:08 2010 +0000
+++ b/pidgin/gtkft.c	Sun Apr 25 21:24:06 2010 +0000
@@ -1163,7 +1163,7 @@
 static void
 pidgin_xfer_add_thumbnail(PurpleXfer *xfer, const gchar *formats)
 {	
-	purple_debug_info("pidgin", "creating thumbnail for transfer\n");
+	purple_debug_info("ft", "creating thumbnail for transfer\n");
 
 	if (purple_xfer_get_size(xfer) <= PIDGIN_XFER_MAX_SIZE_IMAGE_THUMBNAIL) {
 		GdkPixbuf *thumbnail = 
@@ -1181,13 +1181,13 @@
 			
 			for (i = 0; formats_split[i]; i++) {
 				if (purple_strequal(formats_split[i], "jpeg")) {
-					purple_debug_info("pidgin", "creating JPEG thumbnail\n");
+					purple_debug_info("ft", "creating JPEG thumbnail\n");
 					option_keys[0] = "quality";
 					option_values[0] = "90";
 					format = "jpeg";
 					break;
 				} else if (purple_strequal(formats_split[i], "png")) {
-					purple_debug_info("pidgin", "creating PNG thumbnail\n");
+					purple_debug_info("ft", "creating PNG thumbnail\n");
 					option_keys[0] = "compression";
 					option_values[0] = "9";
 					format = "png";
@@ -1197,7 +1197,7 @@
 
 			/* Try the first format given by the PRPL without options */
 			if (format == NULL) {
-				purple_debug_info("pidgin",
+				purple_debug_info("ft",
 				    "creating thumbnail of format %s as demanded by PRPL\n",
 				    formats_split[0]);
 				format = formats_split[0];
@@ -1208,7 +1208,7 @@
 
 			if (buffer) {
 				gchar *mimetype = g_strdup_printf("image/%s", format);				
-				purple_debug_info("pidgin",
+				purple_debug_info("ft",
 				                  "created thumbnail of %" G_GSIZE_FORMAT " bytes\n",
 					size);
 				purple_xfer_set_thumbnail(xfer, buffer, size, mimetype);