SOURCES: psi-no_online_offline_status.patch (NEW) - no online/offl...

hawk hawk at pld-linux.org
Fri Jan 25 21:19:09 CET 2008


Author: hawk                         Date: Fri Jan 25 20:19:09 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- no online/offline status by default, updated no_online_status-mod.patch

---- Files affected:
SOURCES:
   psi-no_online_offline_status.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/psi-no_online_offline_status.patch
diff -u /dev/null SOURCES/psi-no_online_offline_status.patch:1.1
--- /dev/null	Fri Jan 25 21:19:09 2008
+++ SOURCES/psi-no_online_offline_status.patch	Fri Jan 25 21:19:04 2008
@@ -0,0 +1,16 @@
+--- psi-0.11/src/psiaccount.cpp.orig	2007-10-14 16:00:53.000000000 +0200
++++ psi-0.11/src/psiaccount.cpp	2008-01-25 21:00:57.024123617 +0100
+@@ -2782,11 +2782,11 @@
+ void PsiAccount::changeStatus(int x)
+ {
+ 	if(x == STATUS_OFFLINE && !option.askOffline) {
+-		setStatus(Status("","Logged out",0,false));
++		setStatus(Status("","",0,true));
+ 	}
+ 	else {
+ 		if(x == STATUS_ONLINE && !option.askOnline) {
+-			setStatus(Status());
++			setStatus(Status("","",0,true));
+ 		}
+ 		else if(x == STATUS_INVISIBLE){
+ 			Status s("","",0,true);
================================================================


More information about the pld-cvs-commit mailing list