src/gaim-send-async

Thu, 26 Jan 2006 05:43:27 +0000

author
Casey Harkins <charkins@pidgin.im>
date
Thu, 26 Jan 2006 05:43:27 +0000
changeset 13046
99a2833aeae3
parent 11332
35bbaaee70a7
child 13221
98e6b83ab770
permissions
-rwxr-xr-x

[gaim-migrate @ 15405]
SF Patch #1415168 from charkins

This makes the volume adjustment range center on the middle of the slider
again. It also improves the volume control in a couple of other ways.

committer: Richard Laager <rlaager@pidgin.im>

#!/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