mate-mateconf

mate-mateconf — Provides access to the mateconf module.

Synopsis

#include <libmate/libmate.h>

gchar *             mate_mateconf_get_mate_libs_settings_relative
                                                        (const gchar *subkey);
gchar *             mate_mateconf_get_app_settings_relative
                                                        (MateProgram *program,
                                                         const gchar *subkey);

Description

The mateconf module provides a means for storing configuration parameters in a directory-like structure. This module supplies a couple of convenience wrappers for the most common ways an application will use mateconf.

Details

mate_mateconf_get_mate_libs_settings_relative ()

gchar *             mate_mateconf_get_mate_libs_settings_relative
                                                        (const gchar *subkey);

Gets the full key name for a MATE desktop specific setting for a specific application. Those keys are used to store application-specific configuration, for example the history of a MateEntry. This config space should only be used by libraries.

subkey :

key part below the mate desktop settings directory

Returns :

A newly allocated string

mate_mateconf_get_app_settings_relative ()

gchar *             mate_mateconf_get_app_settings_relative
                                                        (MateProgram *program,
                                                         const gchar *subkey);

Gets the full key name for an application specific setting. That is "/apps/<application_id>/subkey".

program :

MateProgram pointer or NULL for the default

subkey :

key part below the mate desktop settings directory

Returns :

A newly allocated string