/[cvs]/nfo/projects/netfraggle/bin/FraggleTopicFrame.py
ViewVC logotype

Diff of /nfo/projects/netfraggle/bin/FraggleTopicFrame.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by xabbu, Wed Sep 15 22:31:27 2004 UTC revision 1.8 by xabbu, Fri Sep 17 09:46:30 2004 UTC
# Line 2  Line 2 
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
# Line 86  class FraggleTopicFrame(wxMDIChildFrame) Line 89  class FraggleTopicFrame(wxMDIChildFrame)
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):
# Line 108  class FraggleTopicFrame(wxMDIChildFrame) Line 111  class FraggleTopicFrame(wxMDIChildFrame)
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)
# Line 118  class FraggleTopicFrame(wxMDIChildFrame) Line 122  class FraggleTopicFrame(wxMDIChildFrame)
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                    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed