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
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
eta
gajim
Commits
3739b635
Commit
3739b635
authored
19 years ago
by
dkirov
Browse files
Options
Downloads
Patches
Plain Diff
stupid typo
parent
ead3e555
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/gajim-remote.py
+5
-21
5 additions, 21 deletions
scripts/gajim-remote.py
with
5 additions
and
21 deletions
scripts/gajim-remote.py
+
5
−
21
View file @
3739b635
...
...
@@ -203,32 +203,16 @@ Please specify account for sending the message.') % sys.argv[2])
self
.
send_error
(
_
(
'
Session bus is not available.
'
))
if
_version
[
1
]
>=
30
and
_version
[
1
]
<=
42
:
self
.
object
=
self
.
sbus
.
get_object
(
SERVICE
,
OBJ_PATH
)
self
.
interface
=
dbus
.
Interface
(
obj
ect
,
INTERFACE
)
obj
=
self
.
sbus
.
get_object
(
SERVICE
,
OBJ_PATH
)
interface
=
dbus
.
Interface
(
obj
,
INTERFACE
)
elif
_version
[
1
]
<
30
:
self
.
service
=
self
.
sbus
.
get_service
(
SERVICE
)
self
.
interface
=
self
.
service
.
get_object
(
OBJ_PATH
,
INTERFACE
)
interface
=
self
.
service
.
get_object
(
OBJ_PATH
,
INTERFACE
)
else
:
send_error
(
_
(
'
Unknown dbus version: %s
'
)
%
_version
)
# get the function asked
if
self
.
command
==
'
toggle_roster_appearance
'
:
self
.
method
=
self
.
interface
.
toggle_roster_appearance
elif
self
.
command
==
'
help
'
:
self
.
method
=
self
.
interface
.
help
elif
self
.
command
==
'
contact_info
'
:
self
.
method
=
self
.
interface
.
contact_info
elif
self
.
command
==
'
send_message
'
:
self
.
method
=
self
.
interface
.
send_message
elif
self
.
command
==
'
show_next_unread
'
:
self
.
method
=
self
.
interface
.
show_next_unread
elif
self
.
command
==
'
open_chat
'
:
self
.
method
=
self
.
interface
.
open_chat
elif
self
.
command
==
'
list_accounts
'
:
self
.
method
=
self
.
interface
.
list_accounts
elif
self
.
command
==
'
change_status
'
:
self
.
method
=
self
.
interface
.
change_status
elif
self
.
command
==
'
list_contacts
'
:
self
.
method
=
self
.
interface
.
list_contacts
self
.
method
=
interface
.
__getattr__
(
self
.
command
)
def
make_arguments_row
(
self
,
args
):
'''
return arguments list. Mandatory arguments are enclosed with:
...
...
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