2 |
|
|
3 |
# $Id$ |
# $Id$ |
4 |
# $Log$ |
# $Log$ |
5 |
|
# Revision 1.8 2004/09/17 09:46:30 xabbu |
6 |
|
# U function OnUpdateButtonButton items will be added in the correct order now |
7 |
|
# |
8 |
# Revision 1.7 2004/09/15 22:31:27 xabbu |
# Revision 1.7 2004/09/15 22:31:27 xabbu |
9 |
# + in function OnUpdateButtonButton call to fraggleSync replaced with syncTopics |
# + in function OnUpdateButtonButton call to fraggleSync replaced with syncTopics |
10 |
# + topics are being recieved from the server now |
# + topics are being recieved from the server now |
89 |
self.topicListBox.Clear() |
self.topicListBox.Clear() |
90 |
i = 0 |
i = 0 |
91 |
for topic in topics: |
for topic in topics: |
92 |
self.topicListBox.Append(topics[topic], i) |
self.topicListBox.Append(topics[str(i)], i) |
93 |
i = i + 1 |
i = i + 1 |
94 |
|
|
95 |
def OnTopicListBoxListboxDclick(self, event): |
def OnTopicListBoxListboxDclick(self, event): |
111 |
topics = self.engine.getTopics() |
topics = self.engine.getTopics() |
112 |
title = topics[str(seldata)] |
title = topics[str(seldata)] |
113 |
#print title |
#print title |
114 |
|
print topics |
115 |
|
|
116 |
frame = FraggleListFrame.create(self.parent) |
frame = FraggleListFrame.create(self.parent) |
117 |
frame.SetName(str(seldata)) |
frame.SetName(str(seldata)) |
118 |
frame.SetTitle(title) |
frame.SetTitle(title) |
122 |
frame.Move(pos) |
frame.Move(pos) |
123 |
self.parent.Fit() |
self.parent.Fit() |
124 |
|
|
125 |
frame.load_content() |
frame.load_content(topics[str(seldata)]) |
126 |
|
|
127 |
|
|