ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/modules/aim-toc aim-toc.c,1.22,1.23


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/modules/aim-toc aim-toc.c,1.22,1.23
Date: Thu, 06 Feb 2003 05:08:53 -0500

Update of /cvsroot/ayttm/ayttm/modules/aim-toc
In directory subversions:/tmp/cvs-serv22567/modules/aim-toc

Modified Files:
        aim-toc.c 
Log Message:
gtkText for away message


Index: aim-toc.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/aim-toc/aim-toc.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- aim-toc.c   6 Feb 2003 09:15:36 -0000       1.22
+++ aim-toc.c   6 Feb 2003 10:08:51 -0000       1.23
@@ -938,9 +938,11 @@
                if (account->connected == 0 && account->connecting == 0) {
                        eb_aim_login(account);
                }
-               if (is_away)
-                       toc_set_away(alad->conn, get_away_message());
-               else
+               if (is_away) {
+                       char *awaymsg = get_away_message();
+                       toc_set_away(alad->conn, awaymsg);
+                       g_free(awaymsg);
+               } else
                        toc_set_away(alad->conn, _("User is currently away"));
                break;
        case AIM_OFFLINE:





reply via email to

[Prev in Thread] Current Thread [Next in Thread]