comparison src/prefs.c @ 5011:330a78666a5b

[gaim-migrate @ 5347] This fixes drag and drop support for nautilus. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sat, 05 Apr 2003 01:41:14 +0000
parents 414b6a68578f
children e44e68aa6ea3
comparison
equal deleted inserted replaced
5010:fec4b67bad91 5011:330a78666a5b
283 283
284 /* We'll check this just to make sure. This also lets us do something different on 284 /* We'll check this just to make sure. This also lets us do something different on
285 * other platforms, if need be */ 285 * other platforms, if need be */
286 if (!g_ascii_strcasecmp(tail, ".gz") || !g_ascii_strcasecmp(tail, ".tgz")) { 286 if (!g_ascii_strcasecmp(tail, ".gz") || !g_ascii_strcasecmp(tail, ".tgz")) {
287 #ifndef _WIN32 287 #ifndef _WIN32
288 command = g_strdup_printf("tar > /dev/null xzf \"%s\" -C %s", path, destdir); 288 command = g_strdup_printf("tar > /dev/null xzf \"%s\" -C %s", tmp, destdir);
289 #else 289 #else
290 if(!wgaim_gz_untar(tmp, destdir)) { 290 if(!wgaim_gz_untar(tmp, destdir)) {
291 g_free(destdir); 291 g_free(destdir);
292 g_free(tmp); 292 g_free(tmp);
293 return; 293 return;