~carlfk/ubuntu/natty/software-properties/software-properties-fix-686348

« back to all changes in this revision

Viewing changes to softwareproperties/gtk/SoftwarePropertiesGtk.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-06-08 18:28:24 UTC
  • Revision ID: james.westby@ubuntu.com-20090608182824-208w3y2udpr3kjgn
Tags: 0.73
* Support adding PPA keys automatically (thanks to
  Celso)
* support shorthand syntax for PPAs (ppa:owner or
  ppa:owner/ppa_name) when clicking on "add"
* support new commandline option "--enable-ppa name"

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
                                           apt_pkg.Config.Find("Dir::Etc::sourcelist")):
129
129
        self.open_file(file)
130
130
 
 
131
  def update_interface(self):
 
132
    " abstract interface to keep the UI alive "
 
133
    while gtk.events_pending():
 
134
      gtk.main_iteration()
 
135
 
131
136
  def init_popcon(self):
132
137
    """ If popcon is enabled show the statistics tab and an explanation
133
138
        corresponding to the used distro """
697
702
    if line != None:
698
703
      self.add_source_from_line(line)
699
704
      self.set_modified_sourceslist()
700
 
      
 
705
 
701
706
  def on_edit_clicked(self, widget):
702
707
    """Show a dialog to edit an ISV source"""
703
708
    sel = self.treeview_sources.get_selection()