Add / to the end of folder names when renaming

This commit is contained in:
Andrew Resch 2009-07-05 16:19:47 +00:00
parent f221a39bcf
commit 1b29d267cc
1 changed files with 2 additions and 2 deletions

View File

@ -884,9 +884,9 @@ class AddTorrentDialog(component.Component):
# We don't iterate over the last item because we'll just use
# the existing itr and change the text
parent = self.files_treestore.append(parent,
[True, s, 0, -1, False, gtk.STOCK_DIRECTORY])
[True, s + "/", 0, -1, False, gtk.STOCK_DIRECTORY])
self.files_treestore[itr][1] = split_text[-1]
self.files_treestore[itr][1] = split_text[-1] + "/"
# Now reparent itr to parent
common.reparent_iter(self.files_treestore, itr, parent)