Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gajim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
210
Issues
210
List
Boards
Labels
Service Desk
Milestones
Merge Requests
22
Merge Requests
22
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim
Commits
ffeb83ab
Commit
ffeb83ab
authored
Oct 29, 2020
by
Philipp Hörist
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Util: Catch RuntimeError
parent
fcda6a05
Pipeline
#6691
passed with stages
in 4 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
gajim/gtk/util.py
gajim/gtk/util.py
+4
-0
No files found.
gajim/gtk/util.py
View file @
ffeb83ab
...
...
@@ -755,6 +755,10 @@ def load_pixbuf(path, size=None):
GdkPixbuf
.
InterpType
.
BILINEAR
)
return
pixbuf
except
RuntimeError
as
error
:
log
.
warning
(
'Loading pixbuf failed: %s'
,
error
)
return
None
def
get_thumbnail_size
(
pixbuf
,
size
):
# Calculates the new thumbnail size while preserving the aspect ratio
...
...
Ghost User
@ghost
mentioned in issue
#10335 (closed)
·
Nov 02, 2020
mentioned in issue
#10335 (closed)
mentioned in issue #10335
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment