Mercurial > pidgin
comparison src/dialogs.c @ 423:0d4e80bdb96b
[gaim-migrate @ 433]
No more --enable-oscar option. From now on, it's a toggle in the preferences.
PLEASE DO NOT USE OSCAR, even though it's very easy to.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Wed, 21 Jun 2000 19:33:58 +0000 |
| parents | a330017b3aa4 |
| children | 9e5a6c35dd64 |
comparison
equal
deleted
inserted
replaced
| 422:7cd05539952d | 423:0d4e80bdb96b |
|---|---|
| 451 | 451 |
| 452 void show_error_dialog(char *d) | 452 void show_error_dialog(char *d) |
| 453 { | 453 { |
| 454 | 454 |
| 455 int no = atoi(d); | 455 int no = atoi(d); |
| 456 #ifndef USE_OSCAR | 456 char *w; |
| 457 char *w = strtok(NULL, ":"); | |
| 458 #else | |
| 459 char *w = d + 4; | |
| 460 #endif | |
| 461 char buf[256]; | 457 char buf[256]; |
| 462 char buf2[32]; | 458 char buf2[32]; |
| 463 | 459 |
| 464 #ifdef GAIM_PLUGINS | 460 #ifdef GAIM_PLUGINS |
| 465 GList *c = callbacks; | 461 GList *c = callbacks; |
| 466 struct gaim_callback *g; | 462 struct gaim_callback *g; |
| 467 void (*function)(int, void *); | 463 void (*function)(int, void *); |
| 468 while (c) { | 464 while (c) { |
| 473 } | 469 } |
| 474 c = c->next; | 470 c = c->next; |
| 475 } | 471 } |
| 476 #endif | 472 #endif |
| 477 | 473 |
| 474 if (USE_OSCAR) | |
| 475 w = d + 4; | |
| 476 else | |
| 477 w = strtok(NULL, ":"); | |
| 478 | |
| 478 | 479 |
| 479 switch(no) { | 480 switch(no) { |
| 480 case 69: | 481 case 69: |
| 481 g_snprintf(buf, sizeof(buf), _("Unable to write file %s."), w); | 482 g_snprintf(buf, sizeof(buf), _("Unable to write file %s."), w); |
| 482 break; | 483 break; |
