comparison src/protocols/oscar/oscar.c @ 10475:94fd0bf8c4b1

[gaim-migrate @ 11762] sf patch #1094341, from Richard Laager implements sf rfe #1090971 "tracks when a buddy was last seen and displays this value in the tooltip for offline and "signing on" buddies." The changes for this feature were pretty small and self-contained, and it's a neat feature. Then I started changing other things. I changed the way tooltips are created to use GStrings. I think it's easier to make changes without screwing stuff up, and the code is hopefully a bit easier to read through. I also changed how Add a Chat and Join a Chat work slightly. Now PRPLs can specify if a field is required or not, and the dialogs will not allow the user to click on "ok" if the field is not filled in. For example, when joining an oscar chat, the room name MUST be specified. This change and I think something else minor should fix the problem with adding chats to the buddy list that didn't have names. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 05 Jan 2005 05:52:10 +0000
parents 133a33699e19
children 58ab47ed31bf
comparison
equal deleted inserted replaced
10474:ae1fa1218e5c 10475:94fd0bf8c4b1
6493 struct proto_chat_entry *pce; 6493 struct proto_chat_entry *pce;
6494 6494
6495 pce = g_new0(struct proto_chat_entry, 1); 6495 pce = g_new0(struct proto_chat_entry, 1);
6496 pce->label = _("_Room:"); 6496 pce->label = _("_Room:");
6497 pce->identifier = "room"; 6497 pce->identifier = "room";
6498 pce->required = TRUE;
6498 m = g_list_append(m, pce); 6499 m = g_list_append(m, pce);
6499 6500
6500 pce = g_new0(struct proto_chat_entry, 1); 6501 pce = g_new0(struct proto_chat_entry, 1);
6501 pce->label = _("_Exchange:"); 6502 pce->label = _("_Exchange:");
6502 pce->identifier = "exchange"; 6503 pce->identifier = "exchange";
6504 pce->required = TRUE;
6503 pce->is_int = TRUE; 6505 pce->is_int = TRUE;
6504 pce->min = 4; 6506 pce->min = 4;
6505 pce->max = 20; 6507 pce->max = 20;
6506 m = g_list_append(m, pce); 6508 m = g_list_append(m, pce);
6507 6509