Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TSRh
gajim
Commits
9b483b62
Commit
9b483b62
authored
19 years ago
by
nkour
Browse files
Options
Downloads
Patches
Plain Diff
svn to say 0.9 and removing some code for 0.8 only
parent
33d1536c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/common/gajim.py
+1
-1
1 addition, 1 deletion
src/common/gajim.py
src/filetransfers_window.py
+4
-5
4 additions, 5 deletions
src/filetransfers_window.py
with
5 additions
and
6 deletions
src/common/gajim.py
+
1
−
1
View file @
9b483b62
...
...
@@ -24,7 +24,7 @@
import
common.config
import
common.logger
version
=
'
0.
8
'
version
=
'
0.
9
'
config
=
common
.
config
.
Config
()
connections
=
{}
verbose
=
False
...
...
This diff is collapsed.
Click to expand it.
src/filetransfers_window.py
+
4
−
5
View file @
9b483b62
...
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment