- Timestamp:
- 2009-01-07T02:02:20Z (16 years ago)
- Branches:
- master
- Children:
- 6b9d22a
- Parents:
- ff436ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skype.c
rff436ba r9580a6f 616 616 if (sd->call_status) { 617 617 switch (sd->call_status) { 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 618 case SKYPE_CALL_RINGING: 619 if (sd->call_out) 620 imcb_log(ic, "You are currently ringing the user %s.", info); 621 else { 622 g_snprintf(buf, 1024, "The user %s is currently ringing you.", info); 623 skype_call_ask(ic, sd->call_id, buf); 624 } 625 break; 626 case SKYPE_CALL_MISSED: 627 imcb_log(ic, "You have missed a call from user %s.", info); 628 break; 629 case SKYPE_CALL_CANCELLED: 630 imcb_log(ic, "You cancelled the call to the user %s.", info); 631 sd->call_status = 0; 632 sd->call_out = FALSE; 633 break; 634 case SKYPE_CALL_REFUSED: 635 if (sd->call_out) 636 imcb_log(ic, "The user %s refused the call.", info); 637 else 638 imcb_log(ic, "You refused the call from user %s.", info); 639 sd->call_out = FALSE; 640 break; 641 case SKYPE_CALL_FINISHED: 642 if (sd->call_duration) 643 imcb_log(ic, "You finished the call to the user %s (duration: %s seconds).", info, sd->call_duration); 644 else 645 imcb_log(ic, "You finished the call to the user %s.", info); 646 sd->call_out = FALSE; 647 break; 648 default: 649 /* Don't be noisy, ignore other statuses for now. */ 650 break; 651 651 } 652 652 sd->call_status = 0; … … 681 681 if (sd->filetransfer_status) { 682 682 switch (sd->filetransfer_status) { 683 684 685 686 687 688 683 case SKYPE_FILETRANSFER_NEW: 684 imcb_log(ic, "The user %s offered a new file for you.", info); 685 break; 686 case SKYPE_FILETRANSFER_FAILED: 687 imcb_log(ic, "Failed to transfer file from user %s.", info); 688 break; 689 689 } 690 690 sd->filetransfer_status = 0;
Note: See TracChangeset
for help on using the changeset viewer.