Skip to content
Snippets Groups Projects
Commit 9b483b62 authored by nkour's avatar nkour
Browse files

svn to say 0.9 and removing some code for 0.8 only

parent 33d1536c
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@
import common.config
import common.logger
version = '0.8'
version = '0.9'
config = common.config.Config()
connections = {}
verbose = False
......
......@@ -125,10 +125,8 @@ def show_completed(self, jid, file_props):
file_props['tt_account'], jid).name
sender = gtkgui_helpers.escape_for_pango_markup(sender_name)
else:
if float(gajim.version) > 0.8:
sender = 'You' # FIXME _(gettext this)
else:
sender = file_props['tt_account']
#You is a reply of who send a file
sender = _('You')
sectext += '\n\t' +_('Sender: %s') % sender
sectext += '\n\t' +_('Recipient: ')
if file_props['type'] == 's':
......@@ -147,7 +145,8 @@ def show_completed(self, jid, file_props):
sectext += '\n\t' +_('Saved in: %s') % \
gtkgui_helpers.escape_for_pango_markup(path)
dialog = dialogs.HigDialog(None, _('File transfer completed'), sectext,
gtk.STOCK_DIALOG_INFO, [[_('_Open Containing Folder'), gtk.RESPONSE_ACCEPT],
gtk.STOCK_DIALOG_INFO, [
[_('_Open Containing Folder'), gtk.RESPONSE_ACCEPT],
[ gtk.STOCK_OK, gtk.RESPONSE_OK ]])
button = dialog.get_button(1)
if gtk.gtk_version >= (2, 6, 0) and gtk.pygtk_version >= (2, 6, 0):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment