changeset 4154:3468d666d3cc

[gaim-migrate @ 4382] The buddy pounce thing bothered me. The oscar changes are basically nothing. I just like things to be clean. By the way, if you know of any projects using libfaim other than fire, please let me know. I'm muy muy curious. Messa Jar Jar Binks. I guess emailing me at mark@kingant.net is the most effective way. Squiggle squiggle committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 31 Dec 2002 02:27:21 +0000
parents 76b8bbe8ed34
children 2a57ee4b4868
files src/buddy.c src/protocols/oscar/icq.c src/protocols/oscar/im.c src/protocols/oscar/oscar.c
diffstat 4 files changed, 9 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Tue Dec 31 00:42:00 2002 +0000
+++ b/src/buddy.c	Tue Dec 31 02:27:21 2002 +0000
@@ -1724,7 +1724,10 @@
 		gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), messmenu);
 		gtk_widget_show(menuitem);
 
-		mess = gtk_menu_item_new_with_label(b->message);
+		if (strlen(b->message))
+			mess = gtk_menu_item_new_with_label(b->message);
+		else
+			mess = gtk_menu_item_new_with_label("[no message]");
 		gtk_menu_append(GTK_MENU(messmenu), mess);
 		gtk_tooltips_set_tip(bp_tooltip, GTK_WIDGET(mess), _("[Click to edit]"), NULL);
 		gtk_widget_show(mess);
--- a/src/protocols/oscar/icq.c	Tue Dec 31 00:42:00 2002 +0000
+++ b/src/protocols/oscar/icq.c	Tue Dec 31 02:27:21 2002 +0000
@@ -307,6 +307,7 @@
 			info->first = aimbs_getstr(&qbs, aimbs_getle16(&qbs));
 			info->last = aimbs_getstr(&qbs, aimbs_getle16(&qbs));
 			info->email = aimbs_getstr(&qbs, aimbs_getle16(&qbs));
+			/* Then 0x00 02 00 00 00 00 00 */
 		} break;
 		} /* End switch statement */
 
--- a/src/protocols/oscar/im.c	Tue Dec 31 00:42:00 2002 +0000
+++ b/src/protocols/oscar/im.c	Tue Dec 31 02:27:21 2002 +0000
@@ -897,10 +897,7 @@
 		{ /* V */
 			aimbs_putle16(&fr->data, 0x001b); /* L */
 			aimbs_putle16(&fr->data, 0x0008); /* XXX - Protocol version */
-			aimbs_putle32(&fr->data, 0x00000000); /* Unknown */
-			aimbs_putle32(&fr->data, 0x00000000); /* Unknown */
-			aimbs_putle32(&fr->data, 0x00000000); /* Unknown */
-			aimbs_putle32(&fr->data, 0x00000000); /* Unknown */
+			aim_putcap(&fr->data, AIM_CAPS_EMPTY);
 			aimbs_putle16(&fr->data, 0x0000); /* Unknown */
 			aimbs_putle16(&fr->data, 0x0003); /* Client features? */
 			aimbs_putle16(&fr->data, 0x0000); /* Unknown */
@@ -927,8 +924,8 @@
 
 			aimbs_putle16(&fr->data, 0x0000); /* Status? */
 			aimbs_putle16(&fr->data, 0x0001); /* Priority of this message? */
-			aimbs_putle16(&fr->data, 0x0001); /* L? */
-			aimbs_putle8(&fr->data, 0x00); /* Null termination? */
+			aimbs_putle16(&fr->data, 0x0001); /* L */
+			aimbs_putle8(&fr->data, 0x00); /* String of length L */
 		} /* End TLV t(2711) */
 	} /* End TLV t(0005) */
 
--- a/src/protocols/oscar/oscar.c	Tue Dec 31 00:42:00 2002 +0000
+++ b/src/protocols/oscar/oscar.c	Tue Dec 31 02:27:21 2002 +0000
@@ -93,7 +93,7 @@
 
 /* Set AIM caps, because Gaim can still do them over ICQ and 
  * Winicq doesn't mind. */
-static int caps_icq = AIM_CAPS_CHAT | AIM_CAPS_BUDDYICON | AIM_CAPS_IMIMAGE;
+static int caps_icq = AIM_CAPS_BUDDYICON | AIM_CAPS_IMIMAGE | AIM_CAPS_SENDFILE;
 /* static int caps_icq = AIM_CAPS_ICQ; */
 /* What does AIM_CAPS_ICQ actually mean? -SE */