Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
gajim
gajim
Commits
18070f59
Commit
18070f59
authored
Sep 04, 2019
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avatar: Make show indicator smaller
parent
0927655c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gajim/gtk/avatar.py
gajim/gtk/avatar.py
+2
-2
No files found.
gajim/gtk/avatar.py
View file @
18070f59
...
...
@@ -102,14 +102,14 @@ def add_status_to_avatar(surface, show):
width
=
width
/
scale
height
=
height
/
scale
clip_size
=
width
/
5
clip_size
=
width
/
6.
5
context
.
set_source_rgb
(
255
,
255
,
255
)
context
.
set_operator
(
cairo
.
Operator
.
CLEAR
)
context
.
arc
(
width
-
clip_size
,
height
-
clip_size
,
clip_size
,
0
,
2
*
pi
)
context
.
fill
()
color
=
SHOW_COLORS
[
show
]
show_size
=
width
/
5
show_size
=
width
/
6.
5
show_radius
=
show_size
*
0.80
context
.
set_source_rgb
(
*
color
)
context
.
set_operator
(
cairo
.
Operator
.
OVER
)
...
...
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