changeset 1310:035945fca2d5

[gaim-migrate @ 1320] ha. should we even be doing this? might as well. makes us look powerful. *flexes fingers* committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 19 Dec 2000 10:23:23 +0000
parents 0a766047b4fd
children 338b8ac6bdab
files src/buddy.c src/gaim.h src/toc.c
diffstat 3 files changed, 13 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Tue Dec 19 10:08:29 2000 +0000
+++ b/src/buddy.c	Tue Dec 19 10:23:23 2000 +0000
@@ -1700,7 +1700,7 @@
 	static char buf[256], *tmp;
 	int count = 0, i = 0;
 	gushort bit = 1;
-	while (bit <= 0x20) {
+	while (bit <= 0x80) {
 		if (bit & caps) {
 			switch (bit) {
 				case 0x1:
@@ -1721,6 +1721,12 @@
 				case 0x20:
 					tmp = _("Send File");
 					break;
+				case 0x40:
+					tmp = _("Games");
+					break;
+				case 0x80:
+					tmp = _("Stocks");
+					break;
 				default:
 					tmp = NULL;
 					break;
--- a/src/gaim.h	Tue Dec 19 10:08:29 2000 +0000
+++ b/src/gaim.h	Tue Dec 19 10:23:23 2000 +0000
@@ -367,7 +367,9 @@
 #define FILE_SEND_UID "09461343-4C7F-11D1-8222-444553540000"
 #define IMAGE_UID     "09461345-4C7F-11D1-8222-444553540000"
 #define B_ICON_UID    "09461346-4C7F-11D1-8222-444553540000"
+#define STOCKS_UID    "09461347-4C7F-11D1-8222-444553540000"
 #define FILE_GET_UID  "09461348-4C7F-11D1-8222-444553540000"
+#define GAMES_UID     "0946134a-4C7F-11D1-8222-444553540000"
 
 #define AOL_SRCHSTR "/community/aimcheck.adp/url="
 
--- a/src/toc.c	Tue Dec 19 10:08:29 2000 +0000
+++ b/src/toc.c	Tue Dec 19 10:23:23 2000 +0000
@@ -46,7 +46,7 @@
 #include "pixmaps/dt_icon.xpm"
 #include "pixmaps/free_icon.xpm"
 
-#define REVISION "gaim:$Revision: 1271 $"
+#define REVISION "gaim:$Revision: 1320 $"
 
 #define TYPE_SIGNON    1
 #define TYPE_DATA      2
@@ -337,8 +337,9 @@
 		g_snprintf(snd, sizeof snd, "toc_init_done");
 		sflap_send(gc, snd, -1, TYPE_DATA);
 
-		g_snprintf(snd, sizeof snd, "toc_set_caps %s %s %s %s %s",
-			   FILE_SEND_UID, FILE_GET_UID, B_ICON_UID, IMAGE_UID, VOICE_UID);
+		g_snprintf(snd, sizeof snd, "toc_set_caps %s %s %s %s %s %s %s",
+			   FILE_SEND_UID, FILE_GET_UID, B_ICON_UID, IMAGE_UID, VOICE_UID,
+			   STOCKS_UID, GAMES_UID);
 		sflap_send(gc, snd, -1, TYPE_DATA);
 
 		return;