Mercurial > pidgin
annotate libgaim/plugins/Makefile.am @ 15143:b81e4e44b509
[gaim-migrate @ 17929]
User Info and Tooltips now use the GaimNotifyUserInfo object and methods defined in notify.h. GaimNotifyUserInfo objects encapsulate a list of GaimNotifyUserInfoEntry objects, each of which may have a label, a value, and be specified to be a section header.
This moves the burden of UI generation of user information from the various prpls to the UI. The UI can choose how to display the information rather than being fenced into a particular HTML formatting. Consistency across the prpls' information presentation is now enforced, as well. gaim_notify_user_info_get_text_with_newline() generates text in the:
<b>label</b>: value
<b>label</b>: value
format as was passed by convention from prpls in the past.
committer: Tailor Script <tailor@pidgin.im>
| author | Evan Schoenberg <evan.s@dreskin.net> |
|---|---|
| date | Sun, 10 Dec 2006 02:53:09 +0000 |
| parents | 69590c55c748 |
| children | 630b794db0c8 |
| rev | line source |
|---|---|
| 14192 | 1 DIST_SUBDIRS = mono perl ssl tcl |
| 2 | |
| 3 if USE_PERL | |
|
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14235
diff
changeset
|
4 PERL_DIR = perl |
| 14192 | 5 endif |
| 6 | |
| 7 if USE_TCL | |
| 8 TCL_DIR = tcl | |
| 9 endif | |
| 10 | |
| 11 if ENABLE_DBUS | |
| 12 DBUS_LTLIB = dbus-example.la | |
| 13 endif | |
| 14 | |
| 15 if USE_MONO | |
| 16 MONO_DIR = mono | |
| 17 endif | |
| 18 | |
| 19 SUBDIRS = \ | |
| 20 $(MONO_DIR) \ | |
| 21 $(PERL_DIR) \ | |
| 22 ssl \ | |
| 23 $(TCL_DIR) | |
| 24 | |
| 25 plugindir = $(libdir)/gaim | |
| 26 | |
| 14674 | 27 idle_la_LDFLAGS = -module -avoid-version |
| 28 log_reader_la_LDFLAGS = -module -avoid-version | |
| 29 psychic_la_LDFLAGS = -module -avoid-version | |
| 30 statenotify_la_LDFLAGS = -module -avoid-version | |
| 14192 | 31 |
| 32 # this can't be in a conditional otherwise automake 1.4 yells | |
| 14674 | 33 dbus_example_la_LDFLAGS = -module -avoid-version |
| 14192 | 34 |
| 35 if PLUGINS | |
| 36 | |
| 37 plugin_LTLIBRARIES = \ | |
| 38 idle.la \ | |
|
14235
a54ff7cafc2a
[gaim-migrate @ 16917]
Richard Laager <rlaager@wiktel.com>
parents:
14192
diff
changeset
|
39 log_reader.la \ |
| 14192 | 40 psychic.la \ |
| 41 statenotify.la \ | |
| 42 $(DBUS_LTLIB) | |
| 43 | |
| 44 | |
| 45 idle_la_SOURCES = idle.c | |
|
14235
a54ff7cafc2a
[gaim-migrate @ 16917]
Richard Laager <rlaager@wiktel.com>
parents:
14192
diff
changeset
|
46 log_reader_la_SOURCES = log_reader.c |
| 14192 | 47 psychic_la_SOURCES = psychic.c |
| 48 statenotify_la_SOURCES = statenotify.c | |
| 49 | |
| 14674 | 50 idle_la_LIBADD = $(GLIB_LIBS) |
| 51 log_reader_la_LIBADD = $(GLIB_LIBS) | |
| 52 psychic_la_LIBADD = $(GLIB_LIBS) | |
| 53 statenotify_la_LIBADD = $(GLIB_LIBS) | |
| 54 | |
| 14192 | 55 if ENABLE_DBUS |
| 56 | |
| 57 CLEANFILES = dbus-example-bindings.c | |
| 58 dbus_example_la_SOURCES = dbus-example.c | |
| 59 | |
| 14674 | 60 dbus_example_la_LIBADD = $(GLIB_LIBS) $(DBUS_LIBS) |
| 61 | |
| 14192 | 62 .PHONY: always |
| 63 | |
| 64 $(top_builddir)/libgaim/dbus-types.h: always | |
| 65 cd $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F) | |
| 66 | |
| 67 dbus-example-bindings.c: $(top_srcdir)/libgaim/dbus-analyze-functions.py $(dbus_example_la_SOURCES) | |
| 68 cat $(srcdir)/$(dbus_example_la_SOURCES) | \ | |
| 69 $(PYTHON) $(top_srcdir)/libgaim/dbus-analyze-functions.py --export-only > $@ | |
| 70 | |
| 71 $(dbus_example_la_OBJECTS) dbus-example.so: dbus-example-bindings.c $(top_builddir)/libgaim/dbus-types.h | |
| 72 | |
| 73 | |
| 74 endif # ENABLE_DBUS | |
| 75 | |
| 76 endif # PLUGINS | |
| 77 | |
| 78 EXTRA_DIST = \ | |
| 79 Makefile.mingw \ | |
| 80 dbus-buddyicons-example.py \ | |
| 81 filectl.c \ | |
| 82 fortuneprofile.pl \ | |
| 83 gaim.pl \ | |
| 84 ipc-test-client.c \ | |
| 85 ipc-test-server.c \ | |
| 86 pluginpref_example.c \ | |
| 87 signals-test.c \ | |
| 88 simple.c | |
| 89 | |
| 90 AM_CPPFLAGS = \ | |
| 91 -DDATADIR=\"$(datadir)\" \ | |
| 92 -DVERSION=\"$(VERSION)\" \ | |
| 93 -I$(top_builddir)/libgaim \ | |
| 94 -I$(top_srcdir)/libgaim \ | |
| 95 $(DEBUG_CFLAGS) \ | |
| 96 $(GLIB_CFLAGS) \ | |
| 97 $(PLUGIN_CFLAGS) \ | |
| 98 $(DBUS_CFLAGS) | |
| 99 | |
| 100 # | |
| 101 # This part allows people to build their own plugins in here. | |
| 102 # Yes, it's a mess. | |
| 103 # | |
| 104 SUFFIXES = .c .so | |
| 105 .c.so: | |
| 106 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) | |
| 107 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) | |
| 108 @rm -f tmp$@.lo tmp$@.o libtmp$@.la | |
| 109 @cp .libs/libtmp$@.so* $@ | |
| 110 @rm -f .libs/libtmp$@.* |
