[Frugalware-darcs] vmexam: pyrssi: add the status window to the start of the window list

VMiklos vmiklos at frugalware.org
Fri Jun 8 23:31:23 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=vmexam;a=darcs_commitdiff;h=20070608212935-e2957-65b44694ac6f491422be599e59553c0d3c7209ab.gz;

[pyrssi: add the status window to the start of the window list
VMiklos <vmiklos at frugalware.org>**20070608212935
 ie. this way it's possible to read your awaylog
] {
hunk ./python/cgi/pyrssi/pyrssi.py 170
+
+	def __getwindowlist(self):
+		ret = self.__recv("windowlist").split("\n")
+		ret.insert(0, '1: (status) (notconnected)')
+		return ret
+
hunk ./python/cgi/pyrssi/pyrssi.py 197
-		for i in self.__recv("windowlist").split("\n"):
+		for i in self.__getwindowlist():
}


More information about the Frugalware-darcs mailing list