Mercurial > pidgin.yaz
view src/gaim-send-async @ 13220:ac5bc9a7b603
[gaim-migrate @ 15584]
SF Patch #1428582 from Casey Harkins
"The dbus stuff in gaim is using the namespace org.gaim.
gaim.org is obviously not associated with gaim and
chances are they would never need the dbus namespace.
Regardless, it would probably be better if gaim used
net.sf.gaim for the namespace. It'd be easier to
change now than after 2.0 is released since things
might start depending on gaim's dbus api. The dbus spec
and tutorial both suggest/imply (though don't strictly
require) that the namespace coorespond to a domain name
that you own."
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 11 Feb 2006 05:25:47 +0000 |
parents | 1d97f18595be |
children |
line wrap: on
line source
#!/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=net.sf.gaim.GaimService --type=method_call /net/sf/gaim/GaimObject net.sf.gaim.GaimInterface.$METHOD_NAME "$@" echo