| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-29 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (config_cb): new function, calling
our new config ui code.
(control_activate): no longer load evolution-addressbook-ldap.xml,
as it's not there.
* gui/component/addressbook-component.c (owner_set_cb):
setup_ldap_storage => addressbook_storage_setup.
* gui/component/Makefile.am (evolution_addressbook_SOURCES):
remove e-ldap-storage.[ch] and add addressbook-storage.[ch].
(glade_DATA): remove ldap-server-dialog.glade and add
addressbook-config.glade.
(EXTRA_DIST): same.
* gui/component/addressbook-config.[ch]: add another dialog to
give a list of our sources and offer the Add/Delete/Edit
interface. This plugs into the previous dialog work (the source
editor.)
* gui/component/addressbook-storage.[ch]: new files, containing
the remains of e-ldap-storage.[ch] and adding the new
AddressbookSource type and it's subordinates. Also, the xml
format has changed slightly and the file name is no longer
~/evolution/ldap-servers.xml - it's
~/evolution/addressbook-sources.xml.
* gui/component/addressbook-config.glade: new file, new config
interface.
* gui/component/ldap-server-dialog.glade: removed.
* gui/component/e-ldap-storage.[ch]: removed.
svn path=/trunk/; revision=7198
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (owner_set_cb): Update for
changed prototype, pass evolution_homedir arg to
setup_ldap_storage.
* gui/component/e-ldap-storage.c (setup_ldap_storage): Now takes
an evolution_homedir arg, uses that to generate the path to the
ldapservers.xml file, and stores the result in a static variable.
(e_ldap_storage_add_server, e_ldap_storage_remove_server): Use that
static variable rather than hardcoding the path to the file.
svn path=/trunk/; revision=4713
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-06 Chris Toshok <toshok@helixcode.com>
* gui/component/e-ldap-storage.h: add scope to ELDAPServer, and
make port a string.
* gui/component/e-ldap-storage.c (load_ldap_data): don't load a
uri, load all the bits and pieces and build up the uri when
creating the folder, according to the openldap url format.
(ldap_server_foreach): store out each of the individual uri
pieces.
(e_ldap_storage_remove_server): free the new fields.
(get_string_value): if the text is empty, return the empty string
instead of NULL.
* gui/component/e-ldap-server-dialog.c (extract_server_info): port is a string now.
(fill_in_server_info): port is a string now.
svn path=/trunk/; revision=3942
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-05 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (new_server_cb): call
e_ldap_storage_add_server call.
* gui/component/ldap-server-dialog.glade: add name row.
* gui/component/e-ldap-server-dialog.h: remove the ELDAPServer type.
* gui/component/e-ldap-server-dialog.c (extract_server_info): add
support for the name-entry.
* gui/component/e-ldap-server-dialog.c (fill_in_server_info): same.
* gui/component/e-ldap-storage.h: add ELDAPServer type, and add
prototypes for e_ldap_storage_add_server and
e_ldap_storage_remove_server.
* gui/component/e-ldap-storage.c (e_ldap_storage_add_server): new
function, add it to our hash table, add a shell folder, and save
out the metadata.
(ldap_server_foreach): add the ldap server info under a
"contactserver" node.
(setup_ldap_storage): create our hashtable.
svn path=/trunk/; revision=3895
|
|
2000-07-05 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (set_prop): remove hack to read
"uri" file from local directory.
* gui/component/Makefile.am (evolution_addressbook_SOURCES): add
e-ldap-storage.{c,h}
* gui/component/addressbook-component.c (owner_set_cb): call
setup_ldap_storage.
* gui/component/e-ldap-storage.c (setup_ldap_storage): Register
the LDAP storage and load the .xml file.
(load_ldap_data): function to load our xml file.
(save_ldap_data): function to save our xml file.
svn path=/trunk/; revision=3890
|