annotate src/protocols/silc/Makefile.am @ 12468:6faefbebcd24

[gaim-migrate @ 14778] SF Patch #1372898 from charkins "This patch updates the unseen conversation api in gtkconv to ensure consistancy and avoid code duplication. The ...first_unseen() function is renamed and expanded to return a list of conversations that match the specified criteria. A max_count parameter is used to allow this to short circuit early (using 1 gives old behavior). An additional flag was added to allow this function to only consider hidden conversations (used by the buddy list). The blist is currently inconsistant in which conversations it loops over for showing the menu tray icon, creating the tooltip and the unseen menu. This patch fixes that. The ...find_unseen_list() now handles contact-aware conversations correctly as well (based on sadrul's patches in #1362579 which are obsoleted by this patch). I also included the fix from #1362579 which increments unseen_count only when state>=UNSEEN_TEXT." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 12 Dec 2005 18:59:29 +0000
parents 7bef0fa7d4aa
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9353
b8138f3959dc [gaim-migrate @ 10161]
Ethan Blanton <elb@pidgin.im>
parents: 9061
diff changeset
1 EXTRA_DIST = README TODO Makefile.mingw
8849
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
2
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
3 pkgdir = $(libdir)/gaim
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
4
12059
7bef0fa7d4aa [gaim-migrate @ 14354]
Ethan Blanton <elb@pidgin.im>
parents: 10889
diff changeset
5 SILCSOURCES = silc.c silcgaim.h buddy.c chat.c ft.c ops.c pk.c util.c wb.c wb.h
8849
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
6
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
7 AM_CFLAGS = $(st)
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
8
10889
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9905
diff changeset
9 libsilcgaim_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
8849
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
10
8857
15ddfb03f4c7 [gaim-migrate @ 9625]
Ethan Blanton <elb@pidgin.im>
parents: 8849
diff changeset
11 if STATIC_SILC
8849
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
12
9905
3547fd2af609 [gaim-migrate @ 10797]
Luke Schierer <lschiere@pidgin.im>
parents: 9353
diff changeset
13 st = -DGAIM_STATIC_PRPL $(SILC_CFLAGS)
9061
710302dae4e6 [gaim-migrate @ 9837]
Ethan Blanton <elb@pidgin.im>
parents: 8857
diff changeset
14 noinst_LIBRARIES = libsilcgaim.a
8849
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
15 pkg_LTLIBRARIES =
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
16
9061
710302dae4e6 [gaim-migrate @ 9837]
Ethan Blanton <elb@pidgin.im>
parents: 8857
diff changeset
17 libsilcgaim_a_SOURCES = $(SILCSOURCES)
710302dae4e6 [gaim-migrate @ 9837]
Ethan Blanton <elb@pidgin.im>
parents: 8857
diff changeset
18 libsilcgaim_a_CFLAGS = $(AM_CFLAGS)
710302dae4e6 [gaim-migrate @ 9837]
Ethan Blanton <elb@pidgin.im>
parents: 8857
diff changeset
19 libsilcgaim_a_LIBADD = $(SILC_LIBS)
8849
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
20
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
21 else
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
22
9905
3547fd2af609 [gaim-migrate @ 10797]
Luke Schierer <lschiere@pidgin.im>
parents: 9353
diff changeset
23 st = $(SILC_CFLAGS)
9061
710302dae4e6 [gaim-migrate @ 9837]
Ethan Blanton <elb@pidgin.im>
parents: 8857
diff changeset
24 pkg_LTLIBRARIES = libsilcgaim.la
8849
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
25 noinst_LIBRARIES =
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
26
9061
710302dae4e6 [gaim-migrate @ 9837]
Ethan Blanton <elb@pidgin.im>
parents: 8857
diff changeset
27 libsilcgaim_la_SOURCES = $(SILCSOURCES)
710302dae4e6 [gaim-migrate @ 9837]
Ethan Blanton <elb@pidgin.im>
parents: 8857
diff changeset
28 libsilcgaim_la_LIBADD = $(SILC_LIBS)
8849
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
29
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
30 endif
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
31
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
32 AM_CPPFLAGS = \
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
33 -I$(top_srcdir)/src \
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
34 $(GLIB_CFLAGS) \
50d0f76639e7 [gaim-migrate @ 9616]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
35 $(DEBUG_CFLAGS)