src/gaim-send-async

Mon, 10 Oct 2005 17:59:48 +0000

author
Stu Tomlinson <nosnilmot@pidgin.im>
date
Mon, 10 Oct 2005 17:59:48 +0000
changeset 11638
1821b40269a3
parent 11332
35bbaaee70a7
child 13221
98e6b83ab770
permissions
-rwxr-xr-x

[gaim-migrate @ 13914]
Some bits'n'pieces:

A bunch of memory leak fixes

Fix newly created accounts to connect in the currently active global
status

Fix the modify account dialog to only show relevant user options etc.

Update sametime to use some more of the new status stuff, it still
needs more love though.

Some s/online/available/ for consistency across prpls

Fix a racyness in disconnecting connections that want to die (fixes
the Yahoo crash when signing on somewhere else)

Sorry if I caused any conflicts!

#!/bin/bash

METHOD_NAME=$1

if test -z "$METHOD_NAME" 
then
    cat <<EOF 
This program calls gaim API functions using DBus.  As opposed to gaim-send, 
it does not print the return value.

Usage:

   $0 method-name type1:parameter1 type2:parameter2 ...

This shell script just invokes dbus-send, see man dbus-send for how 
to specify the parameters.  

Examples:

   $0 GaimCoreQuit

Use dbus-viewer to get the list of supported functions and their parameters.
EOF
    exit 1
fi

shift
dbus-send --dest=org.gaim.GaimService --type=method_call /org/gaim/GaimObject org.gaim.GaimInterface.$METHOD_NAME "$@"

echo 

mercurial