aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-config-listener.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some non-ANSI switch statementsDan Winship2002-09-231-0/+2
| | | | | | | | * e-config-listener.c: Fix some non-ANSI switch statements * e-path.c: #include <sys/types.h> for OS X svn path=/trunk/; revision=18156
* update the local copy (if we've got one) so that we don't return values ifRodrigo Moya2002-09-051-0/+26
| | | | | | | | | | | | 2002-09-05 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.c (e_config_listener_set_boolean, e_config_listener_set_float, e_config_listener_set_long, e_config_listener_set_string): update the local copy (if we've got one) so that we don't return values if asked before getting the change notification. svn path=/trunk/; revision=17985
* new functions. (property_change_cb, add_key): added support for FLOATRodrigo Moya2002-08-271-2/+92
| | | | | | | | | | | | 2002-08-27 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.c[ch] (e_config_listener_get_float_with_default, e_config_listener_set_boolean, e_config_listener_set_float): new functions. (property_change_cb, add_key): added support for FLOAT values. (e_config_listener_set_string): free strings before returning. svn path=/trunk/; revision=17873
* call g_strdup in the correct place, or we'll return the internal copy.Rodrigo Moya2002-08-271-2/+2
| | | | | | | | | 2002-08-26 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.c (e_config_listener_get_string_with_default): call g_strdup in the correct place, or we'll return the internal copy. svn path=/trunk/; revision=17860
* only set the key if the value is different from what we've already readRodrigo Moya2002-08-261-0/+11
| | | | | | | | | | | 2002-08-26 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.c (e_config_listener_set_long): only set the key if the value is different from what we've already read from the database, to avoid extra change notifications. (e_config_listener_set_string): likewise. svn path=/trunk/; revision=17858
* added "key_changed" signal to class. (property_change_cb): emitRodrigo Moya2002-08-231-30/+133
| | | | | | | | | | | 2002-08-22 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.[ch]: added "key_changed" signal to class. (property_change_cb): emit "key_changed" signal. (e_config_listener_set_long): new function. (e_config_listener_get_long_with_default): new function. svn path=/trunk/; revision=17847
* new class for config database access and monitoring.Rodrigo Moya2002-08-201-0/+313
2002-08-16 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.[ch]: new class for config database access and monitoring. * Makefile.am: added new files. svn path=/trunk/; revision=17816