add GConf option to disable app monitoring

This option only disables timers, so that already collected is still provided to e.g. appDisplay. IMO that's required for privacy concerns...
This commit is contained in:
Milan Bouchet-Valat 2009-04-23 16:46:36 +02:00 committed by Colin Walters
parent f4f92a879c
commit 216db2bb12
5 changed files with 98 additions and 5 deletions

View file

@ -3,3 +3,10 @@ imagedir = $(pkgdatadir)/images
dist_image_DATA = \
add-workspace.svg \
remove-workspace.svg
schemadir = @GCONF_SCHEMA_FILE_DIR@
schema_DATA = gnome-shell.schemas
install-data-local:
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/data/$(schema_DATA)

20
data/gnome-shell.schemas Normal file
View file

@ -0,0 +1,20 @@
<gconfschemafile>
<schemalist>
<schema>
<key>/schemas/desktop/gnome/shell/app_monitor/enable_monitoring</key>
<applyto>/desktop/gnome/shell/app_monitor/enable_monitoring</applyto>
<owner>gnome-shell</owner>
<type>bool</type>
<default>true</default>
<locale name="C">
<short>Whether to collect stats about applications usage</short>
<long>
The shell normally monitors active applications in order to present the most used ones (e.g. in launchers). While this data will be kept private, you may want to disable this for privacy reasons. Please note that doing so won't remove already saved data.
</long>
</locale>
</schema>
</schemalist>
</gconfschemafile>