Add --mutter-plugins command line argument

src/core/main.c: Add --mutter-plugins argument (overrides GConf value)
src/core/prefs.c src/include/prefs.h: Add meta_prefs_override_clutter_plugins()
   to set a value for clutter_plugins that overrides the value from GConf
This commit is contained in:
Owen W. Taylor
2008-10-31 08:33:37 -04:00
parent 6683b5efff
commit 1b943f8191
3 changed files with 60 additions and 6 deletions

View File

@ -133,11 +133,20 @@ void meta_prefs_set_clutter_disabled (gboolean whether);
GSList * meta_prefs_get_clutter_plugins (void);
/**
* Sets whether the compositor is turned on.
* Sets the list of plugins persistently in GConf
*
* \param whether TRUE to turn on, FALSE to turn off
* \param list list of plugin:option pairs
*/
void meta_prefs_set_clutter_plugins (GSList *list);
/**
* Sets the list of plugins temporarily for this process. The value
* from GConf will be ignored.
*
* \param list list of plugin:option pairs
*/
void meta_prefs_override_clutter_plugins (GSList *list);
#endif
gboolean meta_prefs_get_live_hidden_windows (void);