[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.19,1.20
From: |
Andy Maloney <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.19,1.20 |
Date: |
Fri, 10 Jan 2003 18:43:58 -0500 |
Update of /cvsroot/ayttm/ayttm/modules/msn2
In directory subversions:/tmp/cvs-serv6738/modules/msn2
Modified Files:
msn.C
Log Message:
Use pref functions to access prefs
Index: msn.C
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/msn2/msn.C,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- msn.C 10 Jan 2003 08:17:20 -0000 1.19
+++ msn.C 10 Jan 2003 23:43:56 -0000 1.20
@@ -152,10 +152,7 @@
static int do_guess_away = 1;
static char do_mail_notify_script_name[MAX_PREF_LEN];
-#ifndef __MINGW32__
-extern int do_typing_notify;
-extern int do_send_typing_notify;
-#else
+#ifdef __MINGW32__
#include "globals.h"
#endif
@@ -609,7 +606,7 @@
list=connections;
- if (!do_send_typing_notify)
+ if (!iGetLocalPref("do_send_typing_notify"))
return 4;
while(1)
@@ -1722,7 +1719,7 @@
void ext_typing_user(msnconn * conn, char * username, char * friendlyname)
{
eb_account * ea = find_account_by_handle(username, SERVICE_INFO.protocol_id);
- if(ea != NULL && do_typing_notify)
+ if(ea != NULL && iGetLocalPref("do_typing_notify"))
eb_update_status(ea, _("typing..."));
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.19,1.20,
Andy Maloney <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.77,1.78 configure.in,1.76,1.77
- Next by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.78,1.79 configure.in,1.77,1.78
- Previous by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.77,1.78 configure.in,1.76,1.77
- Next by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.78,1.79 configure.in,1.77,1.78
- Index(es):