src/protocols/msn/msn.c

changeset 11487
cde0ab5a3beb
parent 11325
b75dff0a0c8f
child 11522
c2a0d620f903
equal deleted inserted replaced
11486:0d720d58db2c 11487:cde0ab5a3beb
595 595
596 status = gaim_status_type_new_full(GAIM_STATUS_AWAY, "lunch", 596 status = gaim_status_type_new_full(GAIM_STATUS_AWAY, "lunch",
597 _("Out To Lunch"), FALSE, TRUE, FALSE); 597 _("Out To Lunch"), FALSE, TRUE, FALSE);
598 types = g_list_append(types, status); 598 types = g_list_append(types, status);
599 599
600 status = gaim_status_type_new_full(GAIM_STATUS_HIDDEN, "hidden", 600 status = gaim_status_type_new_full(GAIM_STATUS_HIDDEN, "invisible",
601 _("Hidden"), FALSE, TRUE, FALSE); 601 _("Hidden"), FALSE, TRUE, FALSE);
602 types = g_list_append(types, status); 602 types = g_list_append(types, status);
603 603
604 return types; 604 return types;
605 } 605 }
906 msnstatus = MSN_BUSY; 906 msnstatus = MSN_BUSY;
907 else if (!strcmp(state, "phone")) 907 else if (!strcmp(state, "phone"))
908 msnstatus = MSN_PHONE; 908 msnstatus = MSN_PHONE;
909 else if (!strcmp(state, "lunch")) 909 else if (!strcmp(state, "lunch"))
910 msnstatus = MSN_LUNCH; 910 msnstatus = MSN_LUNCH;
911 else if (!strcmp(state, "hidden")) 911 else if (!strcmp(state, "invisible"))
912 msnstatus = MSN_HIDDEN; 912 msnstatus = MSN_HIDDEN;
913 else if (0) /* how do we detect idle with new status? */ 913 else if (0) /* how do we detect idle with new status? */
914 msnstatus = MSN_IDLE; 914 msnstatus = MSN_IDLE;
915 else 915 else
916 msnstatus = MSN_ONLINE; 916 msnstatus = MSN_ONLINE;

mercurial