[Tkabber-dev] r1554 - in trunk/tkabber: . plugins/roster

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sat Oct 18 18:13:38 MSD 2008


Author: sergei
Date: 2008-10-18 18:13:37 +0400 (Sat, 18 Oct 2008)
New Revision: 1554

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/plugins/roster/backup.tcl
Log:
	* plugins/roster/backup.tcl: Fixed roster backup.


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2008-10-18 13:11:54 UTC (rev 1553)
+++ trunk/tkabber/ChangeLog	2008-10-18 14:13:37 UTC (rev 1554)
@@ -44,6 +44,8 @@
 	  to the end of directories list. This makes using users' themes more
 	  robust (though users have to use different theme names).
 
+	* plugins/roster/backup.tcl: Fixed roster backup.
+
 2008-10-17  Sergei Golovan  <sgolovan at nes.ru>
 
 	* plugins/general/sound.tcl: Cleared sound external program option

Modified: trunk/tkabber/plugins/roster/backup.tcl
===================================================================
--- trunk/tkabber/plugins/roster/backup.tcl	2008-10-18 13:11:54 UTC (rev 1553)
+++ trunk/tkabber/plugins/roster/backup.tcl	2008-10-18 14:13:37 UTC (rev 1554)
@@ -86,10 +86,9 @@
     set subtags [list]
     hook::run serialize_roster_hook $xlib #[info level] subtags
 
-    ::xmpp::xml::toText [::xmpp::xml::create contactlist \
-				    -xmlns $NS(rosterbackup) \
-				    -subelements $subtags] \
-			-prettyprint 1
+    ::xmpp::xml::toTabbedText [::xmpp::xml::create contactlist \
+					-xmlns $NS(rosterbackup) \
+					-subelements $subtags]
 }
 
 ###############################################################################



More information about the Tkabber-dev mailing list