summaryrefslogtreecommitdiff
path: root/telepathy-logger
diff options
context:
space:
mode:
authorCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-01-15 16:18:27 +0000
committerCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-01-15 16:18:27 +0000
commit5853f0728abf10827245b5bdb496f2c960a4ef36 (patch)
treee2545629e2923c593272abefc805ff10c04eb41c /telepathy-logger
parent29c7fb4da417adebc65b7a0a44ee49a0bfdd2797 (diff)
downloadtelepathy-logger-5853f0728abf10827245b5bdb496f2c960a4ef36.tar.gz
Created data/
* moved relevand data files into data/
Diffstat (limited to 'telepathy-logger')
-rw-r--r--telepathy-logger/Makefile.am7
-rw-r--r--telepathy-logger/conf.h10
-rw-r--r--telepathy-logger/telepathy-logger.schemas32
3 files changed, 4 insertions, 45 deletions
diff --git a/telepathy-logger/Makefile.am b/telepathy-logger/Makefile.am
index f1fd25e..28c43e9 100644
--- a/telepathy-logger/Makefile.am
+++ b/telepathy-logger/Makefile.am
@@ -44,13 +44,6 @@ libtelepathy_logger_la_SOURCES = \
observer.c \
utils.c
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_DATA = telepathy-logger.schemas
-
-install-data-local:
- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) \
- --makefile-install-rule $(srcdir)/$(schema_DATA)
-
check_c_sources = \
$(libtelepathy_logger_la_SOURCES) \
include $(top_srcdir)/tools/check-coding-style.mk
diff --git a/telepathy-logger/conf.h b/telepathy-logger/conf.h
index 4dc0798..a707605 100644
--- a/telepathy-logger/conf.h
+++ b/telepathy-logger/conf.h
@@ -55,16 +55,14 @@ GConfClient *tpl_conf_get_gconf_client(TplConf *self);
gboolean tpl_conf_is_globally_enabled (TplConf * self, GError **error);
-void tpl_conf_set_accounts_ignorelist (TplConf *self, GSList *newlist, GError
- **error);
-
-void tpl_conf_togle_globally_enable (TplConf *self, gboolean enable, GError **error);
+gboolean tpl_conf_is_account_ignored (TplConf *self, const gchar *account_path, GError **error);
GSList *tpl_conf_get_accounts_ignorelist (TplConf * self, GError **error);
-gboolean tpl_conf_is_account_ignored (TplConf *self, const gchar *account_path, GError **error);
-
+void tpl_conf_togle_globally_enable (TplConf *self, gboolean enable, GError **error);
+void tpl_conf_set_accounts_ignorelist (TplConf *self, GSList *newlist, GError
+ **error);
G_END_DECLS
#endif // __TPL_CONF_H__
diff --git a/telepathy-logger/telepathy-logger.schemas b/telepathy-logger/telepathy-logger.schemas
deleted file mode 100644
index 5b7fdb2..0000000
--- a/telepathy-logger/telepathy-logger.schemas
+++ /dev/null
@@ -1,32 +0,0 @@
-<gconfschemafile>
- <schemalist>
-
- <schema>
- <key>/schemas/apps/telepathy-logger/logging/turned_on</key>
- <applyto>/apps/telepathy-logger/logging/turned_on</applyto>
- <owner>telepathy-logger</owner>
- <type>bool</type>
- <default>TRUE</default>
- <locale name="C">
- <short>Turn on/off logging</short>
- <long>Globally enable or disable the telepathy logging system.
-Setting it to "false" will completely disable any logging facility (it won't shut down the service)</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/telepathy-logger/logging/accounts/ignorelist</key>
- <applyto>/apps/telepathy-logger/logging/accounts/ignorelist</applyto>
- <owner>telepathy-logger</owner>
- <type>list</type>
- <list_type>string</list_type>
- <default>true</default>
- <locale name="C">
- <short>A list of accounts for which logging is disabled</short>
- <long>Disables logging for the named accounts, when logging is
-globally enabled. Meaningful only if global logging is turned on/enabled</long>
- </locale>
- </schema>
-
-</schemalist>
-</gconfschemafile>