Mercurial > pidgin
view src/protocols/oscar/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 | 6b1ecf40f3ba |
children | 72a5babfa8b4 |
line wrap: on
line source
EXTRA_DIST = \ README \ CHANGES \ COPYING \ BUGS \ AUTHORS \ Makefile.mingw pkgdir = $(libdir)/gaim OSCARSOURCES = \ admin.c \ adverts.c \ aim.h \ aim_cbtypes.h \ aim_internal.h \ auth.c \ bart.c \ bos.c \ bstream.c \ buddylist.c \ chat.c \ chatnav.c \ conn.c \ email.c \ faimconfig.h \ ft.c \ icq.c \ im.c \ invite.c \ locate.c \ misc.c \ msgcookie.c \ odir.c \ popups.c \ rxhandlers.c \ rxqueue.c \ search.c \ service.c \ snac.c \ ssi.c \ stats.c \ tlv.c \ translate.c \ txqueue.c \ util.c \ oscar.c AM_CFLAGS = $(st) liboscar_la_LDFLAGS = -module -avoid-version if STATIC_OSCAR st = -DGAIM_STATIC_PRPL noinst_LIBRARIES = liboscar.a liboscar_a_SOURCES = $(OSCARSOURCES) liboscar_a_CFLAGS = $(AM_CFLAGS) else st = pkg_LTLIBRARIES = liboscar.la liboscar_la_SOURCES = $(OSCARSOURCES) endif AM_CPPFLAGS = \ -I$(top_srcdir)/src \ $(GLIB_CFLAGS) \ $(DEBUG_CFLAGS)