~ubuntu-branches/ubuntu/oneiric/software-properties/oneiric-security

« back to all changes in this revision

Viewing changes to softwareproperties/gtk/DialogEdit.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt, Mohamed Amine IL Idrissi, Michael Vogt
  • Date: 2011-07-22 19:11:26 UTC
  • Revision ID: james.westby@ubuntu.com-20110722191126-xoi15h2c116uzlgu
Tags: 0.81
[ Mohamed Amine IL Idrissi ]
* Redesigned the Updates tab according to
  https://wiki.ubuntu.com/SoftwareUpdateHandling#settings (LP:
  #351484, #357676, #253412)

[ Michael Vogt ]
* add dbus/polkit backend, based on 
  lp:~kubuntu-packagers/software-properties/dbusworker
* use new dbus backend
* automatically run tests at bzr-buildpackage time

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
        # change repository
122
122
        index = self.sourceslist.list.index(self.source_entry)
123
123
        file = self.sourceslist.list[index].file
124
 
        self.sourceslist.list[index] = SourceEntry(line,file)
125
 
        #self.sourceslist.add(self.selected.type,
126
 
        #                     self.selected.uri,
127
 
        #                     self.selected.dist,
128
 
        #                     self.selected_comps)
 
124
        self.new_source_entry = SourceEntry(line,file)
 
125
        self.sourceslist.list[index] = self.new_source_entry
129
126
      self.main.hide()
130
127
      return res