~xnox/ubiquity/rework-dm

« back to all changes in this revision

Viewing changes to ubiquity/frontend/kde_components/PartMan.py

  • Committer: Jonathan Riddell
  • Date: 2013-02-18 19:24:28 UTC
  • mfrom: (5813.1.2 lp-ubiquity)
  • Revision ID: jriddell@ubuntu.com-20130218192428-1jan1nu6sglt4kqj
KDE frontend: show name of installed OS for as partition name if
available

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
                # data for bar display
88
88
                size = int(partition['parted']['size'])
89
89
                fs = partition['parted']['fs']
90
 
                path = partition['parted']['path'].replace("/dev/", "")
91
 
                if fs == "free":
92
 
                    path = fs
 
90
                path = partition['parted']['path']
93
91
                partition_bar.addPartition(path, size, fs)
94
92
 
95
93
        self.partition_list_treeview.reset()