aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-12 08:31:14 -0600
committerTed Gould <ted@canonical.com>2009-02-12 08:31:14 -0600
commit8a2cf3491cfd800cf6525b4d9180136976809311 (patch)
treed64d3c64f7eae2618b167e5404d526dd7879f47c
parente1c5a98895875aaa39aeb274e631f19fb0cb6414 (diff)
downloadlibayatana-indicator-8a2cf3491cfd800cf6525b4d9180136976809311.tar.gz
libayatana-indicator-8a2cf3491cfd800cf6525b4d9180136976809311.tar.bz2
libayatana-indicator-8a2cf3491cfd800cf6525b4d9180136976809311.zip
Setting the properties property and picking up Empathy's desktop file
-rw-r--r--docs/reference/libindicate-decl.txt5
-rw-r--r--tests/im-client.c6
2 files changed, 7 insertions, 4 deletions
diff --git a/docs/reference/libindicate-decl.txt b/docs/reference/libindicate-decl.txt
index 7143c16..b9657c5 100644
--- a/docs/reference/libindicate-decl.txt
+++ b/docs/reference/libindicate-decl.txt
@@ -124,6 +124,11 @@ IndicateIndicator * indicator, const gchar * key, const gchar * data
IndicateIndicator * indicator, const gchar * key, const GdkPixbuf * data
</FUNCTION>
<FUNCTION>
+<NAME>indicate_indicator_set_property_time</NAME>
+<RETURNS>void </RETURNS>
+IndicateIndicator * indicator, const gchar * key, GTimeVal * time
+</FUNCTION>
+<FUNCTION>
<NAME>indicate_indicator_get_property</NAME>
<RETURNS>const gchar *</RETURNS>
IndicateIndicator * indicator, const gchar * key
diff --git a/tests/im-client.c b/tests/im-client.c
index 3670bfa..0731468 100644
--- a/tests/im-client.c
+++ b/tests/im-client.c
@@ -49,10 +49,8 @@ main (int argc, char ** argv)
g_type_init();
IndicateServer * server = indicate_server_ref_default();
- GValue value = {0};
- g_value_init(&value, G_TYPE_STRING);
- g_value_set_static_string(&value, "message.im");
- g_object_set_property(G_OBJECT(server), "type", &value);
+ indicate_server_set_type(server, "message.im");
+ indicate_server_set_desktop_file(server, "/usr/share/applications/empathy.desktop");
IndicateIndicatorMessage * indicator;