Mercurial > pidgin
view src/protocols/zephyr/Makefile.am @ 9797:62eb9fe24692
[gaim-migrate @ 10665]
"This patch adds gaim_notify_userinfo() and a notify_userinfo() UI
callback. gaim_notify_userinfo() is much like
gaim_notify_formatted() except that it always takes a
GaimConnection* as its handle and has an
additional argument, const char* who.
gaim_gtk_notify_userinfo() currently passes all the information
except the GaimConnection* and the const char* who to
gaim_gtk_notify_formatted(). This could be changed in the future
to, for example, have a standardized window title which would
note the account and/or user associated with the information.
This is needed because some UIs (Adium, for example) don't want
to present the information in a standalone window - they want to
associate the information with a particular contact / buddy and
display it with that object's other information. Previously,
gaim_notify_formatted() was not useful for this purpose as it could
not be determined what user's info it was; gaim_notify_userinfo()
makes this possible.
This patch modifies notify.c and notify.h for the new function,
modifies gtknotify.c to register the ui op and pass calls to it on the
gaim_gtk_notify_formatted, and modifies all prpls except SILC
(which I don't understand well enough to modify, but there's no
actual harm in leaving it as gaim_notify_formatted() for now) to
use gaim_notify_userinfo() and pass their gc and username when
calling the function." -- Evan Schoenberg
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 20 Aug 2004 22:05:18 +0000 |
parents | 2b68c423357e |
children | 2cc05a9e944d |
line wrap: on
line source
pkgdir = $(libdir)/gaim ZEPHYRSOURCES = \ ZAsyncLocate.c \ ZCkAuth.c \ ZCkIfNot.c \ ZClosePort.c \ ZCmpUID.c \ ZCmpUIDP.c \ ZFlsLocs.c \ ZFlsSubs.c \ ZFmtAuth.c \ ZFmtList.c \ ZFmtNotice.c \ ZFmtRaw.c \ ZFmtRawLst.c \ ZFmtSmRLst.c \ ZFmtSmRaw.c \ ZFreeNot.c \ ZGetLocs.c \ ZGetSender.c \ ZGetSubs.c \ ZGetWGPort.c \ ZIfNotice.c \ ZInit.c \ ZLocations.c \ ZMakeAscii.c \ ZMkAuth.c \ ZNewLocU.c \ ZOpenPort.c \ ZParseNot.c \ ZPeekIfNot.c \ ZPeekNot.c \ ZPeekPkt.c \ ZPending.c \ ZReadAscii.c \ ZRecvNot.c \ ZRecvPkt.c \ ZRetSubs.c \ ZSendList.c \ ZSendNot.c \ ZSendPkt.c \ ZSendRLst.c \ ZSendRaw.c \ ZSetDest.c \ ZSetFD.c \ ZSetSrv.c \ ZSubs.c \ ZVariables.c \ ZWait4Not.c \ ZhmStat.c \ Zinternal.c \ com_err.h \ error_message.c \ error_table.h \ et_name.c \ init_et.c \ internal.h \ mit-copyright.h \ mit-sipb-copyright.h \ sysdep.h \ zephyr.h \ zephyr_err.c \ zephyr_err.h \ \ zephyr.c ZEPHYRSOURCESEXT = zephyr.c AM_CFLAGS = $(st) ZEPHYRLIBS = $(KRB4_LDFLAGS) $(KRB4_LIBS) ZEPHYRLIBSEXT = $(ZEPHYR_LDFLAGS) $(ZEPHYR_LIBS) libzephyr_la_LDFLAGS = -module -avoid-version if STATIC_ZEPHYR st = -DGAIM_STATIC_PRPL -Dlint noinst_LIBRARIES = libzephyr.a libzephyr_a_SOURCES = $(ZEPHYRSOURCES) libzephyr_a_CFLAGS = $(AM_CFLAGS) libzephyr_a_LIBADD = $(ZEPHYRLIBS) else st = -Dlint pkg_LTLIBRARIES = libzephyr.la if EXTERNAL_LIBZEPHYR libzephyr_la_SOURCES = $(ZEPHYRSOURCESEXT) libzephyr_la_LIBADD = $(ZEPHYRLIBSEXT) else libzephyr_la_SOURCES = $(ZEPHYRSOURCES) libzephyr_la_LIBADD = $(ZEPHYRLIBS) endif endif AM_CPPFLAGS = \ -I$(top_srcdir) \ -I$(top_srcdir)/src \ -I$(top_srcdir)/src/protocols \ -DCONFDIR=\"$(confdir)\" \ $(GLIB_CFLAGS) \ $(KRB4_CFLAGS) \ $(DEBUG_CFLAGS)