~evfool/software-properties/lintianfixes

« back to all changes in this revision

Viewing changes to softwareproperties/gtk/SoftwarePropertiesGtk.py

  • Committer: Michael Vogt
  • Date: 2011-07-26 07:09:54 UTC
  • Revision ID: michael.vogt@ubuntu.com-20110726070954-ctmgns3p7v7awq94
* softwareproperties/gtk/SoftwarePropertiesGtk.py:
  - use policykit for changing the update interval (LP: #816061)

Show diffs side-by-side

added added

removed removed

Lines of Context:
782
782
    i = self.combobox_update_interval.get_active()
783
783
    if i != -1:
784
784
        value = self.combobox_interval_mapping[i]
785
 
        self.set_update_interval(value)
 
785
        self.backend.SetUpdateInterval(value)
786
786
 
787
787
  def on_add_clicked(self, widget):
788
788
    """Show a dialog that allows to enter the apt line of a to be used repo"""