--- nfo/projects/netfraggle/bin/FraggleTopicFrame.py 2004/09/15 22:31:27 1.7 +++ nfo/projects/netfraggle/bin/FraggleTopicFrame.py 2004/09/17 09:46:30 1.8 @@ -1,7 +1,10 @@ #Boa:MDIChild:FraggleTopicFrame -# $Id: FraggleTopicFrame.py,v 1.7 2004/09/15 22:31:27 xabbu Exp $ +# $Id: FraggleTopicFrame.py,v 1.8 2004/09/17 09:46:30 xabbu Exp $ # $Log: FraggleTopicFrame.py,v $ +# Revision 1.8 2004/09/17 09:46:30 xabbu +# U function OnUpdateButtonButton items will be added in the correct order now +# # Revision 1.7 2004/09/15 22:31:27 xabbu # + in function OnUpdateButtonButton call to fraggleSync replaced with syncTopics # + topics are being recieved from the server now @@ -86,7 +89,7 @@ self.topicListBox.Clear() i = 0 for topic in topics: - self.topicListBox.Append(topics[topic], i) + self.topicListBox.Append(topics[str(i)], i) i = i + 1 def OnTopicListBoxListboxDclick(self, event): @@ -108,7 +111,8 @@ topics = self.engine.getTopics() title = topics[str(seldata)] #print title - + print topics + frame = FraggleListFrame.create(self.parent) frame.SetName(str(seldata)) frame.SetTitle(title) @@ -118,6 +122,6 @@ frame.Move(pos) self.parent.Fit() - frame.load_content() + frame.load_content(topics[str(seldata)]) \ No newline at end of file