| 331 /* Well, it looks like the drag event was cool. |
331 /* Well, it looks like the drag event was cool. |
| 332 * Let's do something with it */ |
332 * Let's do something with it */ |
| 333 if (!g_ascii_strncasecmp(name, "file://", 7)) { |
333 if (!g_ascii_strncasecmp(name, "file://", 7)) { |
| 334 GError *converr = NULL; |
334 GError *converr = NULL; |
| 335 gchar *tmp, *rtmp; |
335 gchar *tmp, *rtmp; |
| 336 /* It looks like we're dealing with a local file. Let's |
336 /* It looks like we're dealing with a local file. */ |
| 337 * just untar it in the right place */ |
|
| 338 if(!(tmp = g_filename_from_uri(name, NULL, &converr))) { |
337 if(!(tmp = g_filename_from_uri(name, NULL, &converr))) { |
| 339 purple_debug(PURPLE_DEBUG_ERROR, "buddyicon", "%s\n", |
338 purple_debug(PURPLE_DEBUG_ERROR, "buddyicon", "%s\n", |
| 340 (converr ? converr->message : |
339 (converr ? converr->message : |
| 341 "g_filename_from_uri error")); |
340 "g_filename_from_uri error")); |
| 342 return; |
341 return; |