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
6775c3a4
Commit
6775c3a4
authored
18 years ago
by
jimpp
Browse files
Options
Downloads
Patches
Plain Diff
Some errors spoted by file source checkers
parent
20ea31ac
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/chat_control.py
+2
-2
2 additions, 2 deletions
src/chat_control.py
src/common/xmpp/simplexml.py
+1
-1
1 addition, 1 deletion
src/common/xmpp/simplexml.py
src/message_control.py
+1
-1
1 addition, 1 deletion
src/message_control.py
with
4 additions
and
4 deletions
src/chat_control.py
+
2
−
2
View file @
6775c3a4
...
...
@@ -259,7 +259,7 @@ def _on_banner_eventbox_button_press_event(self, widget, event):
def
_on_send_button_clicked
(
self
,
widget
):
'''
When send button is pressed: send the current message
'''
if
gajim
.
connections
[
self
.
account
].
connected
<
2
:
# we are not connected
dialog
=
dialogs
.
ErrorDialog
(
_
(
'
A connection is not available
'
),
dialogs
.
ErrorDialog
(
_
(
'
A connection is not available
'
),
_
(
'
Your message can not be sent until you are connected.
'
))
return
message_buffer
=
self
.
msg_textview
.
get_buffer
()
...
...
@@ -465,7 +465,7 @@ def _on_message_textview_mykeypress_event(self, widget, event_keyval,
send_message
=
True
if
gajim
.
connections
[
self
.
account
].
connected
<
2
:
# we are not connected
dialog
=
dialogs
.
ErrorDialog
(
_
(
'
A connection is not available
'
),
dialogs
.
ErrorDialog
(
_
(
'
A connection is not available
'
),
_
(
'
Your message can not be sent until you are connected.
'
))
send_message
=
False
...
...
This diff is collapsed.
Click to expand it.
src/common/xmpp/simplexml.py
+
1
−
1
View file @
6775c3a4
...
...
@@ -252,7 +252,7 @@ def __setitem__(self,item,val):
return
self
.
setAttr
(
item
,
val
)
def
__delitem__
(
self
,
item
):
"""
Deletes node
'
s attribute
"
item
"
.
"""
return
self
.
delAttr
(
item
,
val
)
return
self
.
delAttr
(
item
)
def
__getattr__
(
self
,
attr
):
"""
Reduce memory usage caused by T/NT classes - use memory only when needed.
"""
if
attr
==
'
T
'
:
...
...
This diff is collapsed.
Click to expand it.
src/message_control.py
+
1
−
1
View file @
6775c3a4
...
...
@@ -68,7 +68,7 @@ def shutdown(self):
# NOTE: Derived classes MUST implement this
pass
def
repaint_themed_widgets
(
self
,
theme
):
def
repaint_themed_widgets
(
self
):
pass
# NOTE: Derived classes SHOULD implement this
def
update_ui
(
self
):
...
...
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