[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/modules/sms sms.c,1.5,1.6
From: |
Philip S Tellis <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/modules/sms sms.c,1.5,1.6 |
Date: |
Tue, 28 Jan 2003 01:22:13 -0500 |
Update of /cvsroot/ayttm/ayttm/modules/sms
In directory subversions:/tmp/cvs-serv391
Modified Files:
sms.c
Log Message:
bring sms up to date with core
Index: sms.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/sms/sms.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sms.c 24 Jan 2003 20:41:31 -0000 1.5
+++ sms.c 28 Jan 2003 06:22:10 -0000 1.6
@@ -405,22 +405,16 @@
pixmaps = 1;
}
-static void eb_sms_get_status_pixmap(eb_account * account, GdkPixmap ** pm,
GdkBitmap ** bm)
+static char ** eb_sms_get_status_pixmap(eb_account * account)
{
eb_sms_account_data *sad;
- if (!pixmaps)
- eb_sms_init_pixmaps();
-
sad = account->protocol_account_data;
- if(sad->status == SMS_STATUS_ONLINE) {
- *pm = eb_sms_pixmap[0];
- *bm = eb_sms_bitmap[0];
- } else {
- *pm = eb_sms_pixmap[1];
- *bm = eb_sms_bitmap[1];
- }
+ if(sad->status == SMS_STATUS_ONLINE)
+ return sms_online_xpm;
+ else
+ return sms_away_xpm;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/modules/sms sms.c,1.5,1.6,
Philip S Tellis <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm/modules/irc irc.c,1.7,1.8
- Next by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.232,1.233 configure.in,1.228,1.229
- Previous by thread:
[Ayttm-commits] CVS: ayttm/modules/irc irc.c,1.7,1.8
- Next by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.232,1.233 configure.in,1.228,1.229
- Index(es):