|  |  |  | libseahorse Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
#define ENCRYPTSELF_KEY #define MULTI_EXTENSION_KEY #define MULTI_SEPERATE_KEY #define KEYSERVER_KEY #define AUTORETRIEVE_KEY #define AUTOSYNC_KEY #define LASTSEARCH_KEY #define LASTSERVERS_KEY #define PUBLISH_TO_KEY #define SEAHORSE_SCHEMAS #define KEYSHARING_KEY #define WINDOW_SIZE void seahorse_gconf_disconnect (); void seahorse_gconf_set_boolean (const char *key, gboolean boolean_value); gboolean seahorse_gconf_get_boolean (const char *key); void seahorse_gconf_set_integer (const char *key, int int_value); int seahorse_gconf_get_integer (const char *key); void seahorse_gconf_set_string (const char *key, const char *string_value); char* seahorse_gconf_get_string (const char *key); void seahorse_gconf_set_string_list (const char *key, const GSList *slist); GSList* seahorse_gconf_get_string_list (const char *key); GConfEntry* seahorse_gconf_get_entry (const char *key); guint seahorse_gconf_notify (const char *key, GConfClientNotifyFunc notification_callback, gpointer callback_data); void seahorse_gconf_notify_lazy (const char *key, GConfClientNotifyFunc notification_callback, gpointer callback_data, gpointer lifetime); void seahorse_gconf_unnotify (guint notification_id);
void seahorse_gconf_disconnect ();
Remove registered dirs and free the global gconf client
void                seahorse_gconf_set_boolean          (const char *key,
                                                         gboolean boolean_value);
Set a value for a boolean key in the GConf storage
Errors are handled internally and are mapped to a warning
| 
 | The key | 
| 
 | The value to set | 
gboolean seahorse_gconf_get_boolean (const char *key);
Read a boolean key from the GConf storage
| 
 | The key to read | 
| Returns : | It returns the read value. On error it returns FALSE | 
void                seahorse_gconf_set_integer          (const char *key,
                                                         int int_value);
Set a value for an integer key in the GConf storage
Errors are handled internally and are mapped to a warning
| 
 | The key | 
| 
 | The value to set | 
int seahorse_gconf_get_integer (const char *key);
Read an integer key from the GConf storage
| 
 | The key to read | 
| Returns : | It returns the read value. On error it returns 0. | 
void                seahorse_gconf_set_string           (const char *key,
                                                         const char *string_value);
Set a value for a string key in the GConf storage
Errors are handled internally and are mapped to a warning
| 
 | The key | 
| 
 | The value to set | 
char* seahorse_gconf_get_string (const char *key);
Read a string key from the GConf storage
| 
 | The key to read | 
| Returns : | It returns the read value. On error it returns "". The returned string should be freed with g_free when no longer needed. | 
void                seahorse_gconf_set_string_list      (const char *key,
                                                         const GSList *slist);
Set a value for a string list (linked list of strings) key in the GConf storage
Errors are handled internally and are mapped to a warning
| 
 | The key | 
| 
 | The list to set | 
GSList* seahorse_gconf_get_string_list (const char *key);
Read a string list (linked list of strings) key from the GConf storage
| 
 | The key to read | 
| Returns : | It returns the read value. On error it returns NULL. Each returned string should be freed with g_free when no longer needed. The list must be freed with g_slist_free | 
GConfEntry* seahorse_gconf_get_entry (const char *key);
Get an entry key from the GConf storage
| 
 | The key to read | 
| Returns : | It returns the read value. On error it returns NULL. Must be freed with gconf_entry_free | 
guint seahorse_gconf_notify (const char *key, GConfClientNotifyFunc notification_callback, gpointer callback_data);
| 
 | The key to add the notification for | 
| 
 | The callback function to add | 
| 
 | user data to pass to the callback function | 
| Returns : | The connection ID. On error it returns 0 | 
void                seahorse_gconf_notify_lazy          (const char *key,
                                                         GConfClientNotifyFunc notification_callback,
                                                         gpointer callback_data,
                                                         gpointer lifetime);
The callback is bound to the object (g_object_set_data_full) and the notification is automatically unnotified as soon as the object is destroyed
| 
 | The key to add the notification for | 
| 
 | The callback function to add | 
| 
 | user data to pass to the callback function | 
| 
 | a GObject to bind the callback to | 
void seahorse_gconf_unnotify (guint notification_id);
Removes a notification identified by the ID
| 
 | ID to remove |