~ilidrissi.amine/software-properties/updates-redesign

« back to all changes in this revision

Viewing changes to softwareproperties/gtk/SoftwarePropertiesGtk.py

  • Committer: Mohamed Amine IL Idrissi
  • Date: 2010-07-02 20:50:44 UTC
  • Revision ID: ilidrissiamine@gmail.com-20100702205044-gnl1xdnwi5jcsgna
Fixed indentation error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
222
222
 
223
223
  
224
224
    def show_auto_update_level(self):
225
 
    """Represent the level of update automation in the user interface"""
 
225
      """Represent the level of update automation in the user interface"""
226
226
    
227
 
    """ Security Updates """
 
227
      """ Security Updates """
228
228
    level_sec = self.get_update_automation_level()
229
229
    if level_sec == None:
230
230
        self.combobox_security_updates.set_sensitive(False)
239
239
    elif level_sec == softwareproperties.UPDATE_INST_SEC:
240
240
        self.combobox_security_updates.set_active(2) # Download and install automatically
241
241
    
242
 
    """ Other Updates """
 
242
      """ Other Updates """
243
243
    level_other = self.client.get_int("/apps/update-notifier/regular_auto_launch_interval")
244
244
    if level_other == 0:
245
245
      self.combobox_other_updates.set_active(0) # Display immediately