diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-06-25 02:34:48 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-06-25 02:34:48 +0000 |
commit | f71fdc30ec825510591ea4fdd4f21284a3e65e7b (patch) | |
tree | 2f4b0331b11bdeeccf9cadd26a41bf74e707b0cc | |
parent | dff89d989186cff3c4928a799767fe178b62e0de (diff) | |
download | anaconda-f71fdc30ec825510591ea4fdd4f21284a3e65e7b.tar.gz anaconda-f71fdc30ec825510591ea4fdd4f21284a3e65e7b.tar.xz anaconda-f71fdc30ec825510591ea4fdd4f21284a3e65e7b.zip |
really make sure we don't try to translate the empty string
-rw-r--r-- | iw/partition_gui.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/iw/partition_gui.py b/iw/partition_gui.py index 30cf5898d..855100979 100644 --- a/iw/partition_gui.py +++ b/iw/partition_gui.py @@ -389,7 +389,9 @@ class DiskTreeModel(gtk.TreeStore): title = _("Mount Point/\nRAID/Volume") elif title == "Size (MB)": title = _("Size\n(MB)") - col = apply(gtk.TreeViewColumn, (_(title), renderer), + elif title != "": + title = _(title) + col = apply(gtk.TreeViewColumn, (title, renderer), propertyMapping) col.set_alignment(0.5) self.columns.append(col) |