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
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Contributor 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
mesonium
gajim
Commits
0b47c54d
Commit
0b47c54d
authored
4 years ago
by
Emmanuel Gil Peyrot
Committed by
Philipp Hörist
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix typo s/entrys/entries/
parent
ab1f7084
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
gajim/common/logger.py
+2
-2
2 additions, 2 deletions
gajim/common/logger.py
gajim/gtk/css_config.py
+1
-1
1 addition, 1 deletion
gajim/gtk/css_config.py
gajim/gtk/dataform.py
+1
-1
1 addition, 1 deletion
gajim/gtk/dataform.py
gajim/gui_menu_builder.py
+4
-4
4 additions, 4 deletions
gajim/gui_menu_builder.py
with
8 additions
and
8 deletions
gajim/common/logger.py
+
2
−
2
View file @
0b47c54d
...
...
@@ -1490,7 +1490,7 @@ def _fill_muc_avatar_sha_cache(self):
rows
=
self
.
_con
.
execute
(
sql
).
fetchall
()
for
row
in
rows
:
self
.
_muc_avatar_sha_cache
[
row
.
jid
]
=
row
.
avatar_sha
log
.
info
(
'
%
s
Avatar SHA entr
y
s loaded
'
,
len
(
rows
))
log
.
info
(
'
%
d
Avatar SHA entr
ie
s loaded
'
,
len
(
rows
))
@timeit
def
set_avatar_sha
(
self
,
account_jid
,
jid
,
sha
=
None
):
...
...
@@ -1632,7 +1632,7 @@ def _fill_disco_info_cache(self):
for
row
in
rows
:
disco_info
=
row
.
disco_info
.
_replace
(
timestamp
=
row
.
last_seen
)
self
.
_disco_info_cache
[
row
.
jid
]
=
disco_info
log
.
info
(
'
%
s
DiscoInfo entr
y
s loaded
'
,
len
(
rows
))
log
.
info
(
'
%
d
DiscoInfo entr
ie
s loaded
'
,
len
(
rows
))
def
get_last_disco_info
(
self
,
jid
,
max_age
=
0
):
"""
...
...
This diff is collapsed.
Click to expand it.
gajim/gtk/css_config.py
+
1
−
1
View file @
0b47c54d
...
...
@@ -52,7 +52,7 @@ def __init__(self):
# gajim-dark.css
Has only entr
y
s which we want to override in gajim.css
Has only entr
ie
s which we want to override in gajim.css
# default.css or default-dark.css
...
...
This diff is collapsed.
Click to expand it.
gajim/gtk/dataform.py
+
1
−
1
View file @
0b47c54d
...
...
@@ -37,7 +37,7 @@
# hide-fallback-fields Hide fallback fields in IBR form (ejabberd)
# left-width Width for labels
# read-only Read only mode for fields
# entry-activates-default Form entry
s
activate the default widget
# entry-activates-default Form entry activate
s
the default widget
class
DataFormWidget
(
Gtk
.
ScrolledWindow
):
...
...
This diff is collapsed.
Click to expand it.
gajim/gui_menu_builder.py
+
4
−
4
View file @
0b47c54d
...
...
@@ -529,13 +529,13 @@ def get_singlechat_menu(control_id, account, jid):
def
build_chatstate_menu
():
menu
=
Gio
.
Menu
()
entr
y
s
=
[
entr
ie
s
=
[
(
_
(
'
Disabled
'
),
'
disabled
'
),
(
_
(
'
Composing only
'
),
'
composing_only
'
),
(
_
(
'
All chat states
'
),
'
all
'
)
]
for
entry
in
entr
y
s
:
for
entry
in
entr
ie
s
:
label
,
setting
=
entry
action
=
'
win.send-chatstate-%s::%s
'
%
(
control_id
,
setting
)
menu
.
append
(
label
,
action
)
...
...
@@ -646,13 +646,13 @@ def build_sync_menu():
def
build_chatstate_menu
():
menu
=
Gio
.
Menu
()
entr
y
s
=
[
entr
ie
s
=
[
(
_
(
'
Disabled
'
),
'
disabled
'
),
(
_
(
'
Composing only
'
),
'
composing_only
'
),
(
_
(
'
All chat states
'
),
'
all
'
)
]
for
entry
in
entr
y
s
:
for
entry
in
entr
ie
s
:
label
,
setting
=
entry
action
=
'
win.send-chatstate-%s::%s
'
%
(
control_id
,
setting
)
menu
.
append
(
label
,
action
)
...
...
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