adding back a FIXME that dimitur removed wihtout fixing!

This commit is contained in:
Nikos Kouremenos 2005-09-13 21:36:23 +00:00
parent 77650c4a6d
commit b90d56cf17
1 changed files with 3 additions and 2 deletions

View File

@ -176,7 +176,7 @@ class FileTransfersWindow:
file_props['tt_account'], jid).name file_props['tt_account'], jid).name
sender = gtkgui_helpers.escape_for_pango_markup(sender_name) sender = gtkgui_helpers.escape_for_pango_markup(sender_name)
else: else:
#You is a reply of who send a file #You is a reply of who sent a file
sender = _('You') sender = _('You')
sectext += '\n\t' +_('Sender: %s') % sender sectext += '\n\t' +_('Sender: %s') % sender
sectext += '\n\t' +_('Recipient: ') sectext += '\n\t' +_('Recipient: ')
@ -187,7 +187,7 @@ class FileTransfersWindow:
recipient = gtkgui_helpers.escape_for_pango_markup(receiver_name) recipient = gtkgui_helpers.escape_for_pango_markup(receiver_name)
else: else:
#You is a reply of who received a file #You is a reply of who received a file
recipient = ('You') recipient = _('You')
sectext += recipient sectext += recipient
if file_props['type'] == 'r': if file_props['type'] == 'r':
sectext += '\n\t' +_('Saved in: %s') % \ sectext += '\n\t' +_('Saved in: %s') % \
@ -195,6 +195,7 @@ class FileTransfersWindow:
dialog = dialogs.HigDialog(None, gtk.MESSAGE_INFO, gtk.BUTTONS_NONE, dialog = dialogs.HigDialog(None, gtk.MESSAGE_INFO, gtk.BUTTONS_NONE,
_('File transfer completed'), sectext) _('File transfer completed'), sectext)
if file_props['type'] == 'r': if file_props['type'] == 'r':
#FIXME: add folder icon to Open Containgin Folder button
dialog.add_buttons(_('_Open Containing Folder'), gtk.RESPONSE_ACCEPT) dialog.add_buttons(_('_Open Containing Folder'), gtk.RESPONSE_ACCEPT)
dialog.add_buttons(gtk.STOCK_OK, gtk.RESPONSE_OK) dialog.add_buttons(gtk.STOCK_OK, gtk.RESPONSE_OK)
dialog.show_all() dialog.show_all()