Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gajim-plugins
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
Model registry
Operate
Environments
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
Evert Mouw
gajim-plugins
Commits
37f7f485
Commit
37f7f485
authored
7 years ago
by
Philipp Hörist
Browse files
Options
Downloads
Patches
Plain Diff
[omemo] Replace 'Upload' with 'Download'
This happend due to copy/paste from httpupload
parent
a412b3f9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
omemo/download_progress_dialog.ui
+0
-0
0 additions, 0 deletions
omemo/download_progress_dialog.ui
omemo/file_decryption.py
+6
-6
6 additions, 6 deletions
omemo/file_decryption.py
with
6 additions
and
6 deletions
omemo/
up
load_progress_dialog.ui
→
omemo/
down
load_progress_dialog.ui
+
0
−
0
View file @
37f7f485
File moved
This diff is collapsed.
Click to expand it.
omemo/file_decryption.py
+
6
−
6
View file @
37f7f485
...
...
@@ -184,7 +184,7 @@ class Download:
while
True
:
try
:
if
self
.
event
.
isSet
():
raise
Up
loadAbortedException
raise
Down
loadAbortedException
temp
=
get_request
.
read
(
10000
)
GLib
.
idle_add
(
self
.
progressbar
.
update_progress
,
len
(
temp
),
size
)
...
...
@@ -196,8 +196,8 @@ class Download:
stream
.
write
(
temp
)
else
:
return
stream
except
Up
loadAbortedException
as
error
:
log
.
info
(
'
Up
load Aborted
'
)
except
Down
loadAbortedException
as
error
:
log
.
info
(
'
Down
load Aborted
'
)
errormsg
=
error
except
URLError
as
error
:
log
.
exception
(
'
URLError
'
)
...
...
@@ -238,7 +238,7 @@ class ProgressWindow:
self
.
plugin
=
plugin
self
.
event
=
event
self
.
xml
=
gtkgui_helpers
.
get_gtk_builder
(
self
.
plugin
.
local_file_path
(
'
up
load_progress_dialog.ui
'
))
self
.
plugin
.
local_file_path
(
'
down
load_progress_dialog.ui
'
))
self
.
dialog
=
self
.
xml
.
get_object
(
'
progress_dialog
'
)
self
.
dialog
.
set_transient_for
(
window
)
self
.
label
=
self
.
xml
.
get_object
(
'
label
'
)
...
...
@@ -267,6 +267,6 @@ class ProgressWindow:
self
.
event
.
set
()
class
Up
loadAbortedException
(
Exception
):
class
Down
loadAbortedException
(
Exception
):
def
__str__
(
self
):
return
_
(
'
Up
load Aborted
'
)
return
_
(
'
Down
load Aborted
'
)
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