Bug 24214 - Add an example Observer
Summary: Add an example Observer
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Guillaume Desmottes
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on: 27871
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-29 06:38 UTC by Simon McVittie
Modified: 2010-04-29 07:29 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Simon McVittie 2009-09-29 06:38:58 UTC
Writing an Observer without a GUI is quite easy, so we should have an example client that logs all Text channels via g_messages.

(Writing a halfway competent Handler or (especially) Approver, without using Gtk or something, is harder...)
Comment 1 Pablo Castellano (pablog) 2010-01-26 11:02:29 UTC
commit 883caf68bbfdde3b580c3bf293f6627d4babbf43
Author: Danielle Madeley <danielle@madeley.id.au>
Date:   Mon Nov 9 10:20:29 2009 +1100

    Observer example

Close?
Comment 2 Simon McVittie 2010-04-06 04:51:19 UTC
(In reply to comment #1)
> Close?

No, until there's an example observer in telepathy-glib that has been through code review, I don't want to close this.

For the example to be good, it should be using library-provided convenience API like that in Bug #25236.
Comment 3 Guillaume Desmottes 2010-04-29 07:29:20 UTC
My branch fixing bug #27871 introduced examples/client/media-observer.c

Fixed in master.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.