~cmiller/ubuntu/quantal/deluge/fix-parameter-move-storage

« back to all changes in this revision

Viewing changes to deluge/ui/gtkui/preferences.py

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Starr-Bochicchio
  • Date: 2010-09-21 17:34:33 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20100921173433-ex8inlhklmcmuyqi
Tags: 1.3.0-0ubuntu1
* Update to final release (LP: #643990).
 - Fix key error after enabling a plugin that introduces
   a new status key (LP: #627200).
* Drop debian/patches/save_timer_active.patch
 - Included upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
        if self.iter_to_remove != None:
174
174
            self.liststore.remove(self.iter_to_remove)
175
175
 
 
176
        # We need to re-adjust the index values for the remaining pages
 
177
        for i, (index, name) in enumerate(self.liststore):
 
178
            self.liststore[i][0] = i
 
179
 
176
180
    def show(self, page=None):
177
181
        """Page should be the string in the left list.. ie, 'Network' or
178
182
        'Bandwidth'"""