hide file progress column, as it doesn't update.

I'll implement that column properly in the future
This commit is contained in:
Zach Tibbitts 2007-03-01 22:24:02 +00:00
parent 1d76bd2a8d
commit 9fb9727782

View File

@ -307,7 +307,7 @@ class DelugeGTK:
def time(column, cell, model, iter, data): def time(column, cell, model, iter, data):
time = int(model.get_value(iter, data)) time = int(model.get_value(iter, data))
if time <= 0 if time <= 0:
cell.set_property('text', '-') cell.set_property('text', '-')
return return
time_str = dcommon.ftime(time) time_str = dcommon.ftime(time)
@ -444,7 +444,7 @@ class DelugeGTK:
dgtk.add_text_column(self.file_view, _("Filename"), 1).set_expand(True) dgtk.add_text_column(self.file_view, _("Filename"), 1).set_expand(True)
dgtk.add_text_column(self.file_view, _("Size"), 2) dgtk.add_text_column(self.file_view, _("Size"), 2)
dgtk.add_text_column(self.file_view, _("Offset"), 3) dgtk.add_text_column(self.file_view, _("Offset"), 3)
dgtk.add_text_column(self.file_view, _("Progress"), 4) # dgtk.add_text_column(self.file_view, _("Progress"), 4)
def file_toggled(self, renderer, path): def file_toggled(self, renderer, path):