~superm1/ubiquity/maverick-post-beta-fixes

« back to all changes in this revision

Viewing changes to ubiquity/plugins/ubi-partman.py

  • Committer: Evan Dandrea
  • Date: 2010-09-01 09:31:07 UTC
  • Revision ID: evan.dandrea@canonical.com-20100901093107-9651t08k859iy1n2
Only set the label on the 'use entire disk' button if we're not
going into the advanced partitioner (LP: #625258).

Show diffs side-by-side

added added

removed removed

Lines of Context:
259
259
        if self.resize_use_free.get_active():
260
260
            self.partition_container.set_current_page(0)
261
261
            s = self.controller.get_string('part_auto_use_entire_disk')
 
262
            self.part_auto_use_entire_disk.set_label(s)
262
263
        elif self.use_device.get_active():
263
264
            self.partition_container.set_current_page(1)
264
265
            self.part_auto_allocate_label.set_text('')
265
266
            self.part_auto_hidden_label.set_text('')
266
267
            s = self.controller.get_string('part_auto_split_largest_partition')
267
 
        self.part_auto_use_entire_disk.set_label(s)
 
268
            self.part_auto_use_entire_disk.set_label(s)
268
269
 
269
270
    def part_auto_select_drive_changed (self, unused_widget):
270
271
        '''The user has selected a different disk drive from the drop down.