changeset 1537:2157d91c2eb9

[gaim-migrate @ 1547] HO-la! committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 06 Mar 2001 15:26:51 +0000
parents 3a9f11c9278b
children 0666792081aa
files TODO src/oscar.c
diffstat 2 files changed, 29 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/TODO	Mon Mar 05 07:54:30 2001 +0000
+++ b/TODO	Tue Mar 06 15:26:51 2001 +0000
@@ -1,21 +1,26 @@
 --- STUFF FOR 0.11.0 RELEASE ---
 
-	File transfer for IRC?  Maybe later?
+	Oscar blocking
+	Actions (e.g. /op) for IRC
+	Fix MSN signon process
+	Write a better yahoo library
 	Chat for Yahoo/ICQ
 	File transfer for Yahoo/ICQ/Oscar/Napster
 	Other RVOUS actions for TOC/Oscar
+	File transfer for IRC?  Maybe later?
 	Jabber Transports
-	Fix MSN signon process
 	Jabber/ICQ/Napster user registration
 
-	Oscar blocking
 	Rename for groups/buddies
 	Status labels in buddy list (mostly just for yahoo)
 	Border for GtkIMHtml
+	Tooltips for links in GtkIMHtml
 	Sounds on buddy pounce
 	Implement system logging
+	GPG Encryption of messages
 
 	ICQ through Oscar plugin (requires hacking libfaim :-/)
+	Zephyr
 
 	Syd is cool and gave all of these ideas:
 		Have multiple tickers in the same window, one for buddies
--- a/src/oscar.c	Mon Mar 05 07:54:30 2001 +0000
+++ b/src/oscar.c	Tue Mar 06 15:26:51 2001 +0000
@@ -1346,6 +1346,16 @@
 	return 1;
 }
 
+static char *images(int flags) {
+	static char buf[1024];
+	g_snprintf(buf, sizeof(buf), "%s%s%s%s",
+			(flags & AIM_FLAG_UNCONFIRMED) ? "<IMG SRC=\"dt_icon.gif\">" : "",
+			(flags & AIM_FLAG_AOL) ? "<IMG SRC=\"aol_icon.gif\">" : "",
+			(flags & AIM_FLAG_ADMINISTRATOR) ? "<IMG SRC=\"admin_icon.gif\">" : "",
+			(flags & AIM_FLAG_FREE) ? "<IMG SRC=\"free_icon.gif\">" : "");
+	return buf;
+}
+
 int gaim_parse_user_info(struct aim_session_t *sess,
 			 struct command_rx_struct *command, ...) {
 	struct aim_userinfo_s *info;
@@ -1372,12 +1382,17 @@
 		return 1;
 	}
 
-	snprintf(buf, sizeof buf, _("Username : <B>%s</B>\n<BR>"
-				  "Warning Level : <B>%d %%</B>\n<BR>"
-				  "Online Since : <B>%s</B><BR>"
-				  "Idle Minutes : <B>%d</B>\n<BR><HR><BR>"
-				  "%s\n"),
-				  info->sn,
+	g_snprintf(buf, sizeof buf, _("Username : <B>%s</B>  %s <BR>\n"
+				  "Warning Level : <B>%d %%</B><BR>\n"
+				  "Online Since : <B>%s</B><BR>\n"
+				  "Idle Minutes : <B>%d</B>\n<BR>\n<HR><BR>\n"
+				  "%s"
+				  "<br><hr><I>Legend:</I><br><br>"
+				  "<IMG SRC=\"free_icon.gif\"> : Normal AIM User<br>"
+				  "<IMG SRC=\"aol_icon.gif\"> : AOL User <br>"
+				  "<IMG SRC=\"dt_icon.gif\"> : Trial AIM User <br>"
+				  "<IMG SRC=\"admin_icon.gif\"> : Administrator"),
+				  info->sn, images(info->flags),
 				  info->warnlevel/10,
 				  asctime(localtime(&info->onlinesince)),
 				  info->idletime,