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

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

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

revision 1.7 by xabbu, Sun Aug 29 22:52:40 2004 UTC revision 1.8 by xabbu, Sun Aug 29 23:23:09 2004 UTC
# Line 89  class fraggleDialogPrefs(wxDialog): Line 89  class fraggleDialogPrefs(wxDialog):
89                parent=self, pos=wxPoint(80, 8), size=wxSize(124, 16), style=0,                parent=self, pos=wxPoint(80, 8), size=wxSize(124, 16), style=0,
90                validator=wxDefaultValidator, value='')                validator=wxDefaultValidator, value='')
91          self.comboBoxProfile.SetLabel('')          self.comboBoxProfile.SetLabel('')
92            EVT_COMBOBOX(self.comboBoxProfile,
93                  wxID_FRAGGLEDIALOGPREFSCOMBOBOXPROFILE,
94                  self.OnComboboxprofileCombobox)
95    
96          self.staticText6 = wxStaticText(id=wxID_FRAGGLEDIALOGPREFSSTATICTEXT6,          self.staticText6 = wxStaticText(id=wxID_FRAGGLEDIALOGPREFSSTATICTEXT6,
97                label='Profile', name='staticText6', parent=self, pos=wxPoint(16,                label='Profile', name='staticText6', parent=self, pos=wxPoint(16,
# Line 184  class fraggleDialogPrefs(wxDialog): Line 187  class fraggleDialogPrefs(wxDialog):
187          event.Skip()          event.Skip()
188    
189      def OnButtonprofiledelButton(self, event):      def OnButtonprofiledelButton(self, event):
190          #self.parent.preferencesCtl.deleteProfile(self.comboBoxProfile.GetValue())          self.parent.preferencesCtl.deleteProfile(self.comboBoxProfile.GetValue())
191          #self.comboBoxProfile.Remove(self.comboBoxProfile.GetValue())          self.comboBoxProfile.Delete(self.comboBoxProfile.FindString(self.comboBoxProfile.GetValue()))
192            self.parent.preferencesCtl.saveProfiles()
193            self.updateConfig()
194            event.Skip()
195    
196        def OnComboboxprofileCombobox(self, event):
197          event.Skip()          event.Skip()
198                    

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