pidgin/win32/winpidgin.c

changeset 24433
a5213aeff14c
parent 23936
67df298c2b9b
child 24795
48d838a2e580
equal deleted inserted replaced
24432:066a123fd39c 24433:a5213aeff14c
210 "This will prevent the settings dir from being set.\n" 210 "This will prevent the settings dir from being set.\n"
211 "Assuming GTK+ is in the PATH.\n"); 211 "Assuming GTK+ is in the PATH.\n");
212 return; 212 return;
213 } 213 }
214 214
215 /* Set $HOME so that the GTK+ settings get stored in the right place */
216 _snprintf(path2, sizeof(path2), "HOME=%s", path);
217 _putenv(path2);
215 218
216 /* Set up the settings dir base to be \\path\to 219 /* Set up the settings dir base to be \\path\to
217 * The actual settings dir will be \\path\to\.purple */ 220 * The actual settings dir will be \\path\to\.purple */
218 _snprintf(path2, sizeof(path2), "PURPLEHOME=%s", path); 221 _snprintf(path2, sizeof(path2), "PURPLEHOME=%s", path);
219 printf("Setting settings dir: %s\n", path2); 222 printf("Setting settings dir: %s\n", path2);

mercurial