This commit is contained in:
Denis Fomin 2012-07-23 11:13:20 +04:00
parent aba97aa2c1
commit b9928c5202
1 changed files with 4 additions and 4 deletions

View File

@ -251,11 +251,11 @@ class FileTransfersWindow:
def show_hash_error(self, jid, file_props, account): def show_hash_error(self, jid, file_props, account):
def on_yes(dummy): def on_yes(dummy):
# Request the file to the sender # Request the file to the sender
sid = gajim.connections[account].start_file_transfer(jid, sid = gajim.connections[account].start_file_transfer(jid,
file_props, file_props,
True) True)
file_props['sid'] = sid file_props['sid'] = sid
if file_props['type'] == 'r': if file_props['type'] == 'r':
file_name = os.path.basename(file_props['file-name']) file_name = os.path.basename(file_props['file-name'])
@ -876,7 +876,7 @@ class FileTransfersWindow:
self.continue_menuitem.set_no_show_all(True) self.continue_menuitem.set_no_show_all(True)
else: else:
label = _('_Continue') label = _('Continue')
self.pause_button.set_label(label) self.pause_button.set_label(label)
self.pause_button.set_image(gtk.image_new_from_stock( self.pause_button.set_image(gtk.image_new_from_stock(
gtk.STOCK_MEDIA_PLAY, gtk.ICON_SIZE_MENU)) gtk.STOCK_MEDIA_PLAY, gtk.ICON_SIZE_MENU))