changeset 4426:3299863ab060

[gaim-migrate @ 4701] ...It's gonna take a lot to drag me away from you There's nothing that a hundred men or more could ever do I bless the rains down in Africa, I passed some rains down in Africa... I made it so "Get Info" shows xxx days, xx hours, xx minutes, xx seconds instead of oodles of minutes. I also removed that entry from the todo... hence the lyrics from Toto... I don't think I'm cheesey enough. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 26 Jan 2003 08:42:34 +0000
parents be8f9ca74ddf
children 88920ce27a9f
files .todo src/protocols/oscar/oscar.c
diffstat 2 files changed, 4 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/.todo	Sun Jan 26 07:17:07 2003 +0000
+++ b/.todo	Sun Jan 26 08:42:34 2003 +0000
@@ -1,4 +1,4 @@
-<!-- Automagically generated by the ToDo program on Tue Jan 21 17:06:19 2003 -->
+<!-- Automagically generated by the ToDo program on Sun Jan 26 03:06:49 2003 -->
 <todo version="0.1.14">
     <title>
         Gaim TODO List
@@ -340,9 +340,6 @@
             <note priority="high" time="1036040899">
                 option to ignore chat room invitations. (this is something you could vary conceivably want to be done per account, so perhaps a protocol action would be best)
             </note>
-            <note priority="low" time="1036040945">
-                idle time display in get_info displays in minutes instead of computing hours and days as the blist does
-            </note>
             <note priority="low" time="1036040980">
                 direct im
                 <note priority="veryhigh" time="1036040919">
@@ -394,12 +391,6 @@
             <note priority="medium" time="1036041260">
                 search for users
             </note>
-            <note priority="medium" time="1037575155">
-                ssi (server side buddy lists and other server stored info)
-                <note priority="medium" time="1041995715">
-                    extended info stuff?
-                </note>
-            </note>
             <note priority="low" time="1036041152">
                 set the Nickname to be the self-alias
             </note>
--- a/src/protocols/oscar/oscar.c	Sun Jan 26 07:17:07 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Sun Jan 26 08:42:34 2003 +0000
@@ -2793,8 +2793,9 @@
 	}
 
 	if (info->present & AIM_USERINFO_PRESENT_IDLE) {
-		idle = g_strdup_printf("Idle : <B>%hu minutes</B>",
-					info->idletime);
+		gchar *itime = sec_to_text(info->idletime*60);
+		idle = g_strdup_printf("Idle : <B>%s</B>", itime);
+		g_free(itime);
 	} else
 		idle = g_strdup("Idle: <B>Active</B>");