aboutsummaryrefslogtreecommitdiff
path: root/libindicate
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-10 15:16:31 -0600
committerTed Gould <ted@canonical.com>2009-02-10 15:16:31 -0600
commitc6eab162d9397b44d26943e5e3fbf4ffe70aa8f7 (patch)
tree406f7b3e0ec8fb297cd72fd479aca8b1eab2c020 /libindicate
parentee050d4a2bdb4059a6ba9a1175effed3c71be946 (diff)
downloadlibayatana-indicator-c6eab162d9397b44d26943e5e3fbf4ffe70aa8f7.tar.gz
libayatana-indicator-c6eab162d9397b44d26943e5e3fbf4ffe70aa8f7.tar.bz2
libayatana-indicator-c6eab162d9397b44d26943e5e3fbf4ffe70aa8f7.zip
Adding in a set_type function and fixing the prototype for set_desktop
Diffstat (limited to 'libindicate')
-rw-r--r--libindicate/server.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libindicate/server.h b/libindicate/server.h
index c2b2191..1aaeb47 100644
--- a/libindicate/server.h
+++ b/libindicate/server.h
@@ -55,7 +55,8 @@ void indicate_server_set_dbus_object (const gchar * obj);
/* Sets the desktop file to get data like name and description
* out of */
-void indicate_server_set_desktop_file (const gchar * path);
+void indicate_server_set_desktop_file (IndicateServer * server, const gchar * path);
+void indicate_server_set_type (IndicateServer * server, const gchar * type);
/* Show and hide the server on DBus, this allows for the server to
* be created, change the object, and then shown. If for some
@@ -71,6 +72,7 @@ void indicate_server_remove_indicator (IndicateServer * server, IndicateIndicato
IndicateServer * indicate_server_ref_default (void);
void indicate_server_set_default (IndicateServer * server);
+
/* DBus API */
gboolean indicate_server_get_indicator_count (IndicateServer * server, guint * count, GError **error);
gboolean indicate_server_get_indicator_count_by_type (IndicateServer * server, gchar * type, guint * count, GError **error);