| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
EvolutionConfigControl instead of a BonoboControl (and removed a
bogus EvolutionConfigControl -> BonoboControl cast).
svn path=/trunk/; revision=19168
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-18 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard.c (e_minicard_realize): drop use of
"font" arg.
(get_left_width): use pango to calculate this instead of a GdkFont.
* gui/widgets/e-minicard-view.c: drop include of e-unicode.h.
* gui/widgets/e-minicard-label.c (e_minicard_label_construct):
don't need to create the font anymore.
* gui/search/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED.
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_new): use g_object_new instead of
gtk_type_new.
* gui/merging/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED.
* gui/contact-list-editor/Makefile.am (INCLUDES): add
-D*_DISABLE_DEPRECATED.
* gui/contact-list-editor/e-contact-list-editor.c (is_named):
strdup (or not, if we don't need to save the value) instead of
using the e_utf8 functions.
(fill_in_info): same.
* gui/contact-editor/Makefile.am (INCLUDES): add
-D*_DISABLE_DEPRECATED.
* gui/contact-editor/e-contact-save-as.c (e_contact_save_as):
strdup (or not, if we don't need to save the value) instead of
using the e_utf8 functions.
(e_contact_list_save_as): same.
* gui/contact-editor/e-contact-quick-add.c (clicked_cb): strdup
(or not, if we don't need to save the value) instead of using the
e_utf8 functions.
(build_quick_add_dialog): same.
* gui/contact-editor/e-contact-editor.c (phone_entry_changed):
strdup (or not, if we don't need to save the value) instead of
using the e_utf8 functions.
(file_as_set_style): same.
(name_entry_changed): same.
(full_name_clicked): same.
(categories_clicked): same.
(set_field): same.
(fill_in_field): same.
(fill_in_single_field): same.
(extract_field): same.
(extract_single_field): same.
* gui/contact-editor/e-contact-editor-fullname.c (extract_field):
just strdup, it's already utf8.
* gui/contact-editor/e-contact-editor-address.c (extract_field):
they're all entries, use GTK_ENTRY foo here.
* gui/component/select-names/Makefile.am (INCLUDES): add
-D*_DISABLE_DEPRECATED.
* gui/component/select-names/e-select-names.c
(e_select_names_add_section): remove the extra
utf8_from_locale_string stuff.
* gui/component/select-names/e-select-names-popup.c
(set_uiinfo_label): gtk_container_children ->
gtk_container_get_children, and remove the extra utf8 stuff.
* gui/component/Makefile.am (INCLUDES): add
-D*_DISABLE_DEPRECATED.
* gui/component/addressbook-storage.c
(addressbook_storage_init_source_uri): g_string_sprintfa ->
g_string_append_printf.
* gui/component/addressbook-config.c (focus_help):
gtk_notebook_set_page -> gtk_notebook_set_current_page.
(addressbook_source_dialog_set_source): same.
(auth_optionmenu_activated): gtk_container_children ->
gtk_container_get_children.
(ssl_optionmenu_activated): same.
(ssl_optionmenu_selected): same, and gtk_notebook_set_page ->
gtk_notebook_set_current_page.
(scope_optionmenu_activated): same.
(set_advanced_button_state): same.
(addressbook_ldap_init): hook "response" to gtk_widget_destroy to
make the dialog go away when clicked.
(addressbook_ldap_auth): same.
(addressbook_root_dse_query): same.
(do_ldap_root_dse_query): same.
(addressbook_config_control_new): fix return type and cast.
(main): remove call to gtk_widget_push_visual.
* gui/component/addressbook-config.h:
addressbook_config_control_new returns a BonoboObject, not a
BonoboControl.
* gui/component/addressbook.c: remove e-unicode.h include.
* backend/pas/Makefile.am (INCLUDES): Add
-DLIBGNOME_DISABLE_DEPRECATED.
* backend/ebook/Makefile.am (INCLUDES): Add
-DLIBGNOME_DISABLE_DEPRECATED.
* backend/ebook/e-card.c (e_card_get_property): remove misleading
comment.
svn path=/trunk/; revision=19160
|
|
|
|
|
|
|
| |
evolution_shell_client_corba_objref() instead of BONOBO_OBJREF()
to get the Shell CORBA object.
svn path=/trunk/; revision=19139
|
|
|
|
|
|
|
|
|
| |
2002-12-16 Jeffrey Stedfast <fejj@ximian.com>
* gui/component/addressbook-config.c: Don't #include
<e-util/e-html-utils.h>
svn path=/trunk/; revision=19132
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/e-cardlist-model.c: #include <string.h>.
* gui/component/addressbook-storage.c: #include <string.h>,
<ctype.h>, <unistd.h>.
* gui/component/addressbook-factory.c: Removed.
* gui/component/addressbook-component.c: #include
<bonobo/bonobo-main.h>, <unistd.h> and <string.h>.
(create_view): addressbook_new_control() instead of
addressbook_factory_new_control().
* gui/component/select-names/e-select-names.c
(e_addressbook_create_ebook_table): Removed unused variable.
(e_select_names_add_section): Removed unused variable.
* gui/component/select-names/e-select-names-manager.c
(focus_in_cb): Use g_source_remove() here instead of
gtk_timeout_remove().
* gui/widgets/e-minicard-control.c
(e_minicard_control_factory_init): Removed.
(e_minicard_control_control_factory): Removed.
(e_minicard_control_new): New.
* gui/component/e-address-widget.c
(e_address_widget_factory_init): Removed.
(e_address_widget_new_control): Renamed from
e_address_widget_factory_new_control(), made public.
(e_address_widget_factory): Removed.
* gui/component/e-address-popup.c (e_address_popup_new_control):
New.
(e_address_popup_factory_new_control): Removed.
(e_address_popup_factory): Removed.
(e_address_popup_factory_init): Removed.
* gui/component/addressbook-config.c
(addressbook_config_register_factory): Removed.
(addressbook_config_create_control): New.
* gui/component/addressbook-component.c
(addressbook_component_factory_init): Removed.
(addressbook_component_get_object): New.
(owner_set_cb): Do not call addressbok_config_register_factory().
* gui/component/addressbook.c (addressbook_factory_init): Removed.
(addressbook_new_control): Renamed from
addressbook_factory_new_control().
svn path=/trunk/; revision=19041
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-24 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c (query_for_supported_bases):
show the etable.
(addressbook_add_server_druid): show_all before returning the
dialog, so the druid shows up.
svn path=/trunk/; revision=18911
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-16 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c
(e_contact_editor_build_phone_ui): sink the popup.
(e_contact_editor_build_email_ui): same.
(e_contact_editor_build_address_ui): same.
* gui/component/addressbook-config.c (ldap_dialog_new): show
everything from dialog->page down, so custom widgets show up.
svn path=/trunk/; revision=18812
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-11 Chris Toshok <toshok@ximian.com>
* gui/widgets/test-reflow.c (destroy_callback): change signature
to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/test-minicard.c (destroy_callback): change signature
to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/test-minicard-view.c (destroy_callback): change
signature to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/test-minicard-label.c (destroy_callback): change
signature to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/e-minicard-widget.c (e_minicard_widget_init): ifdef
out the call to gnome_canvas_set_scroll_region. It doesn't seem
necessary judging from the rest of the code, and it also crashes
the addressbook if it's in.
* gui/widgets/e-minicard-widget-test.c (destroy_callback): change
signature to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/e-minicard-control.c (free_struct): change signature
to that of a weak ref notify function.
(e_minicard_control_factory): ::destroy -> weak_ref.
* gui/widgets/e-addressbook-view.c (e_addressbook_view_init):
::destroy -> weak_ref.
(e_addressbook_view_print): same.
(free_closure): change signature to that of a weak ref notify
function.
(e_contact_print_destroy): same.
(invisible_destroyed): same.
* gui/widgets/e-addressbook-util.c
(e_addressbook_prompt_save_dialog): convert from GnomeDialog to
GtkDialog.
(e_addressbook_show_multiple_cards): same.
* gui/contact-list-editor/e-contact-list-editor.c
(prompt_to_save_changes): change response ids to use
GTK_RESPONSE_.
* gui/component/select-names/e-select-names-manager.c
(clear_widget): new function.
(e_select_names_manager_activate_dialog): ::destroy -> weak_ref.
* gui/component/select-names/e-select-names.c (clear_widget):
change signature to that of a weak ref notify function.
(e_select_names_init): ::destroy -> weak_ref.
* gui/component/e-address-popup.c (mini_wizard_destroy_cb): change
signature to that of a weak ref notify function.
(mini_wizard_new): ::destroy -> weak_ref.
* gui/component/addressbook-config.c
(addressbook_source_dialog_destroy): change signature to that of a
weak ref notify function.
(ldap_config_control_destroy_callback): same.
(addressbook_add_server_druid): ::destroy -> weak_ref.
(addressbook_edit_server_dialog): same.
(ldap_config_control_new): same.
* gui/component/addressbook.c (destroy_callback): change signature
to that of a a weak ref notify function.
(addressbook_factory_new_control): ::destroy -> weak_ref.
* gui/merging/e-card-merging.c (response): rename clicked to this,
and destroy the dialog here.
(match_query_callback): ::clicked -> ::response
* gui/merging/e-card-merging-book-commit-duplicate-detected.glade:
convert.
* gui/merging/e-card-duplicate-detected.glade: same.
svn path=/trunk/; revision=18719
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-07 Chris Toshok <toshok@ximian.com>
* gui/component/Makefile.am (evolution_addressbook_LDADD): add
lots of libs back in since they're building now.
* gui/component/addressbook-config.c: more porting work.
* gui/component/addressbook.c: more porting work.
* gui/component/e-address-popup.[ch]: more porting work.
* gui/component/e-address-widget.[ch]: more porting work.
* gui/component/e-cardlist-model.[ch]: more porting work.
svn path=/trunk/; revision=18658
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-06 Chris Toshok <toshok@ximian.com>
* gui/widgets/gal-view-minicard.[ch]: gobjectify this.
* gui/widgets/e-minicard.[ch]: gobjectify this.
(e_minicard_class_init): change the
min/max values of the width/height paramspecs so that they can
actually be set to something other than 0.0.
* gui/widgets/e-minicard-widget.[ch]: gobjectify this.
* gui/widgets/e-minicard-view.[ch]: gobjectify this.
(set_empty_message): don't need e_utf8_from_locale_string anymore.
* gui/widgets/e-minicard-view-widget.[ch]: gobjectify this.
* gui/widgets/e-minicard-label.[ch]: gobjectify this.
* gui/widgets/e-addressbook-view.[ch]: gobjectify this.
* gui/widgets/e-addressbook-table-adapter.[ch]: gobjectify this.
* gui/widgets/e-addressbook-reflow-adapter.[ch]: gobjectify this.
* gui/widgets/e-addressbook-model.[ch]: gobjectify this.
* gui/widgets/e-minicard-control.c (e_minicard_control_factory):
fix bonobo_persist_stream_new api change.
* gui/contact-list-editor/e-contact-list-model.c
(e_contact_list_model_add_destination): get rid of the
gtk_object_sink here.
* gui/component/ldap-config.glade: glade-2 version of this file.
* gui/component/e-address-popup.c (e_address_popup_refresh_names):
don't need e_utf8_to_gtk_string anymore.
* gui/component/addressbook.c (make_suboptions): don't need
e_utf8_to_locale_string anymore.
* gui/component/addressbook-config.c
(addressbook_dialog_get_source): get rid of the e_utf8 gtk_entry
functions.
(addressbook_source_dialog_set_source): same.
(general_tab_check): same.
(port_changed_func): same.
(connecting_tab_check): same.
(query_for_supported_bases): same.
(display_name_check): same.
(display_name_page_prepare): same.
(edit_source_clicked): same.
(addressbook_config_create_new_source): same.
svn path=/trunk/; revision=18626
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-06 Chris Toshok <toshok@ximian.com>
* gui/widgets/gal-view-minicard.c: fix the gnome-xml headers.
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_class_init): convert from gtk signals and args
to GSignal and GObject properties.
(e_addressbook_view_dispose): rename _destroy to this.
(e_addressbook_view_set_property): rework _set_arg to this.
(e_addressbook_view_get_property): rework _get_arg to this.
(display_view): if we're here we need to choose a view, regardless
of whether or not the GAL_IS_VIEW_* macros tell us which type it
is.
* gui/widgets/e-addressbook-table-adapter.c: fix the gnome-xml
headers.
* gui/widgets/e-addressbook-model.c
(e_addressbook_model_class_init): use INT, not ENUM in the signal here.
* gui/component/addressbook-config.c: another big gtk_* -> g_*
renaming.
* gui/component/addressbook.c: same.
* gui/component/e-address-popup.c: same.
* gui/component/e-address-widget.c: same.
* gui/component/e-cardlist-model.c: fix the gnome-xml headers, and
more gtk_* -> g_* renaming.
* gui/component/addressbook-component.c (owner_set_cb): use
evolution_shell_client_corba_objref as per ettore's change to
EvolutionShellClient..
(create_view): fix the call to bonobo_control_set_property.
(create_component): gtk_signal_connect -> g_signal_connect.
* gui/component/addressbook-storage.c: fix the gnome-xml
headers.
(addressbook_storage_setup): use
evolution_shell_client_corba_objref as per ettore's change to
EvolutionShellClient..
(addressbook_get_other_contact_storage): gtk_signal_connect ->
g_signal_connect.
(load_source_data): root->childs -> root->childrens.
svn path=/trunk/; revision=18598
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Chris Toshok <toshok@ximian.com>
* gui/component/.cvsignore: ignore the new .server file.
* gui/component/Makefile.am: typical port stuff. switch the .oaf
to .server, and leave out a lot of libs so we can actually get
things linking.
* gui/component/GNOME_Evolution_Addressbook.server.in: rename
.oaf.in here.
* gui/component/addressbook-component.c: Port to GObject/gnome2.
* gui/component/addressbook-config.c: Port to GObject/gnome2.
* gui/component/addressbook-factory.c: Port to GObject/gnome2.
* gui/component/addressbook-storage.c: Port to GObject/gnome2.
* gui/component/addressbook.[ch]: Port to GObject/gnome2.
* gui/component/e-address-popup.[ch]: Port to GObject/gnome2.
* gui/component/e-address-widget.[ch]: Port to GObject/gnome2.
* gui/component/e-cardlist-model.h: Port to GObject/gnome2.
svn path=/trunk/; revision=18591
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-24 Chris Toshok <toshok@ximian.com>
[ fixes #29144 ]
* gui/component/addressbook-config.c (edit_dialog_store_change):
use e_table_memory_storage_change instead of remove/insert, so the
selection is maintained.
svn path=/trunk/; revision=18435
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-10 Kjartan Maraas <kmaraas@gnome.org>
[ Fix #7094, #7064, #7095, #31944, #31945 ]
* gui/component/Makefile.am: Hook up new etspec file.
* gui/component/addressbook-config.c: Remove ETable spec.
* gui/component/addressbook-config.etspec: New file.
* gui/component/ldap-config.glade: Fix typo.
* gui/component/select-names/e-select-names.c: Remove inline spec.
* gui/component/select-names/e-select-names.etspec: New file.
* gui/contact-list-editor/Makefile.am: Hook up etspec.
* gui/contact-list-editor/e-contact-list-editor.c: Remove inline spec.
* gui/contact-list-editor/e-contact-list-editor.etspec: New file.
* gui/widgets/Makefile.am: Hook up new spec.
* gui/widgets/e-addressbook-view.c: Remove inline spec.
* gui/widgets/e-addressbook-view.etspec: New file.
svn path=/trunk/; revision=18361
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-03 Chris Toshok <toshok@ximian.com>
[ fixes #29699 ]
* gui/component/addressbook-config.c
(addressbook_add_server_druid): call _set_source with a NULL
source to fill in dialog settings that are set from the option
menus (like the SSL setting).
svn path=/trunk/; revision=17954
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-26 Chris Toshok <toshok@ximian.com>
[ fixes #29446 ]
* gui/component/addressbook-config.c (scope_optionmenu_activated):
searching_modify_func can be NULL (since we don't require changes
to enable the "Next" button on this page when you create a
directory server.)
svn path=/trunk/; revision=17871
|
|
|
|
|
|
|
|
|
|
| |
2002-08-16 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c
(addressbook_source_dialog_set_source): fix c&p error that was
losing the ssl setting.
svn path=/trunk/; revision=17792
|
|
|
|
|
|
|
|
|
|
| |
2002-06-27 Sean Atkinson <sean@cantab.net>
* gui/component/addressbook-config.c (query_for_supported_bases):
don't unref selection_model (otherwise 3 clicks of
"Show Supported Bases" crashes if LDAP server isn't running).
svn path=/trunk/; revision=17333
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-21 Sean Atkinson <sean@cantab.net>
* gui/component/addressbook-config.c (addressbook_edit_server_dialog):
remove source argument (get it from the dialog).
(edit_source_clicked): same.
(sources_table_double_click): added to edit server by double-clicking.
(ldap_dialog_new): use sources_table_double_click.
svn path=/trunk/; revision=17272
|
|
|
|
|
|
|
|
|
|
| |
2002-05-24 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c (CONFIG_CONTROL_FACTORY_ID):
put this back in, accidentally got snipped with the hacking going
on in here.
svn path=/trunk/; revision=17010
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-24 Chris Toshok <toshok@ximian.com>
[ part of #25047 ]
* gui/component/addressbook-config.c: remove the autocompletion
config control from here, as it lives in the shell now.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: same.
svn path=/trunk/; revision=17001
|
|
|
|
|
|
|
|
|
| |
2002-05-23 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c (addressbook_root_dse_query):
fix parameter/local variable overloading.
svn path=/trunk/; revision=16996
|
|
|
|
|
|
|
|
|
|
| |
2002-05-07 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c
(addressbook_config_control_new): oops, add the NULL back at the
end of possible_types.
svn path=/trunk/; revision=16714
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-07 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c (addressbook_ldap_init):
bleah, need to pass the GtkWindow here so we can pop up the a
modal parented dialog (gtk modal dialogs suck?).
(addressbook_ldap_auth): same.
(addressbook_root_dse_query): same.
(do_ldap_root_dse_query): same.
(addressbook_config_control_new): add "ldap-contacts" to the list
of possible types.
svn path=/trunk/; revision=16711
|
|
|
|
|
|
|
|
|
|
| |
2002-05-03 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook-config.c
(addressbook_folder_list_changed_callback): Call
evolution_config_control_changed when the EFolderList changes.
svn path=/trunk/; revision=16680
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-03 Christopher James Lahey <clahey@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Updated this
to have the ConfigControlFactory have an addressbookwide generic
name and added OAFIID:GNOME_Evolution_Addressbook_ConfigControl.
* gui/component/Makefile.am (evolution_addressbook_SOURCES),
gui/component/addressbook-component.c,
gui/component/addressbook-storage.c, gui/component/addressbook.c:
Replaced ldap-config.c and ldap-config.h with addressbook-config.c
andaddressbook-config.h.
* gui/component/addressbook-config.c,
gui/component/addressbook-config.h: Based on ldap-config.c and
ldap-config.h. Added a folder list control. Made this a multi
factory.
* gui/component/ldap-config.c, gui/component/ldap-config.h:
Replaced these with addressbook-config.c and addressbook-config.h.
svn path=/trunk/; revision=16679
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-18 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (get_ldap_library_info): fix
memory leaks.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: remove the
Addressbook_ConfigControl stuff to LDAP_ConfigControl.
* gui/component/Makefile.am (evolution_addressbook_SOURCES):
remove addressbook-config.* and add ldap-config.*
(glade_DATA): same.
(evolution_addressbook_LDADD): add LDAP_LIBS.
* gui/component/addressbook-component.c (owner_set_cb):
addressbook_config_register_factory =>
ldap_config_register_factory.
* gui/component/addressbook.c (book_open_cb): remove source->type
check - they're always LDAP.
(load_uri_cb): same.
* gui/component/addressbook-storage.c (ldap_unparse_ssl): new
function.
(ldap_parse_ssl): new function.
(addressbook_storage_init_source_uri): use a more flexible scheme
to build up the uri's, and add in the ssl parameter.
(load_source_data): fill in source->ssl, and remove source->type
assignment.
(addressbook_source_copy): copy source->ssl, and remove
source->type copy.
(create_ldap_folder): addressbook_create_new_source =>
ldap_config_create_new_source.
* gui/component/addressbook-storage.h: remove
AddressbookSourceType (it was always LDAP), and add
AddressbookLDAPSSLType.
svn path=/trunk/; revision=16524
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook.c: Remove verb "AddressbookConfig".
(config_cb): Removed.
* gui/component/addressbook-config.c: Remove `dialog' member from
`AddresbookDialog'. Instead, add a `config_control' member.
(config_control_new): New.
(addressbook_config): Removed.
(addressbook_config_register_factory): New.
(config_control_factory_fn): New, factory function for the
ConfigControl page.
(addressbook_source_edit_changed): Don't change the sensitivity of
the dialog. Rather, invoke ::changed on the ConfigPage.
(auth_checkbutton_changed): No need to manually change the
sensitiviness of the buttons here either.
(add_source_clicked): Likewise, just invoke
evolution_config_control_changed().
(edit_source_clicked): Likewise.
(addressbook_dialog_close): Removed.
(config_control_destroy_callback): New, callback for when the
config control gets destroyed.
(addressbook_dialog_apply): Removed.
(config_control_apply_callback): New callback for
EvolutionConfigControl::apply.
(addressbook_dialog_ok): Removed.
(addressbook_config_control_new): Set up ->config_control and
connect the signals.
* gui/component/addressbook-config.glade: Call the main hbox in
the addressbook_sources dialog `addressbook_sources_main_hbox'.
* gui/component/addressbook-component.c (owner_set_cb): Call
`addresbook_config_register_factory'.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Add items for
OAFIID:GNOME_Evolution_Addresbook_ConfigControl and
OAFIID:GNOME_Evolution_Addressbook_ConfigControlFactory.
svn path=/trunk/; revision=16136
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-24 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c
(addressbook_source_dialog_set_source): make the right auth page
start up open.
* gui/component/addressbook-storage.c (addressbook_source_free):
free the binddn.
(addressbook_source_copy): copy the binddn;
svn path=/trunk/; revision=15819
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-24 Chris Toshok <toshok@ximian.com>
[ fixes bug 16097 ]
* gui/component/addressbook-config.glade: gui love for the new
auth stuff.
* gui/component/addressbook.c (load_uri_cb): track change to auth,
and offer up different prompt strings depending on which method
(binddn or email) we're using.
* gui/component/addressbook-storage.c (ldap_unparse_auth): use the
new auth types for ldap.
(ldap_parse_auth): same.
(addressbook_storage_auth_type_to_string): new function.
(load_source_data): get the binddn too.
(ldap_source_foreach): store out binddn or emailaddr, depending on
the auth type chosen.
* gui/component/addressbook-storage.h: add the more detailed auth
types, add "binddn" to the source structure, and add a prototype
for addressbook_storage_auth_type_to_string.
* gui/component/addressbook-config.c (auth_checkbutton_changed):
set the auth stuff (in)sensitive.
(auth_optionmenu_activated): new function.
(addressbook_source_dialog_set_source): track UI change.
(addressbook_source_dialog_get_source): same.
(add_scope_activate_cb): rename add_activate_cb to this to
distinguish it from the auth stuff.
(add_auth_activate_cb): new function.
(addressbook_source_dialog): track change to auth UI stuff.
(addressbook_storage_auth_type_to_string): new function.
* backend/ebook/e-book.h: add auth_method arg to
e_book_authenticate_user.
* backend/ebook/e-book.c (e_book_authenticate_user): track change
to prototype - add auth_method arg, and pass it along to the CORBA
call.
* backend/ebook/test-client.c (book_open_cb): track api change -
keep this building.
* backend/pas/pas-book.h: add auth_method slot in PASRequest.
* backend/pas/pas-book.c (pas_book_queue_authenticate_user): add
auth_method arg and add it to the PASRequest.
(impl_GNOME_Evolution_Addressbook_Book_authenticateUser): track
idl change, add auth_method and pass it along to
pas_book_queue_authenticate_user.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_authenticate_user): support both
"ldap/simple-email" and "ldap/simple-binddn" auth methods.
* backend/idl/addressbook.idl: add "in string authMethod" to
authenticateUser.
svn path=/trunk/; revision=15467
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-21 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-ldap.c (ldap_search_handler): Set the
number of cards to return to the value specified in the ldap uri,
leaving the default at 100. Fixes Ximian bug #13953.
* gui/component/addressbook-config.c (addressbook_source_dialog),
gui/component/addressbook-config.glade: Added a limit entry here
to edit the limit field of the source.
* gui/component/addressbook-storage.c,
gui/component/addressbook-storage.h
(addressbook_storage_init_source_uri): Added a limit field to this
class and pass that value through in the uri that's generated.
svn path=/trunk/; revision=15415
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h
(e_card_simple_get): Handle returning dates here.
(e_card_simple_get_allow_newlines): New function. Returns whether
it makes much sense to have newlines in this string.
* gui/component/addressbook-config.c,
gui/component/addressbook-config.h
(addressbook_create_new_source): The first argument here should
be const.
* gui/component/addressbook-storage.c: Added #include
"addressbook-config.h".
* gui/widgets/e-minicard-label.c (e_minicard_label_event): On an
escape here, cancel editing and remove the focus from the text.
* gui/widgets/e-minicard.c (add_field): Set allow_newlines here.
(field_activated): Stop editing on the activate signal and remove
the focus from the text. Fixes Ximian bug #12286.
svn path=/trunk/; revision=14335
|
|
|
|
|
|
|
|
|
|
| |
2001-10-17 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c (addressbook_source_dialog):
grab focus in the Account entry when preparing the dialog, fixes
#10406.
svn path=/trunk/; revision=13734
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-06 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.glade: add an Email Address
field/label/help text.
* gui/component/addressbook-config.c
(addressbook_source_dialog_set_source): fill in the email entry
from the source. also, set the initial state of the email
label/entry.
(auth_checkbutton_changed): set the email label/entry
sensitive/editable if auth is turned on, and
insensitive/uneditable if it's off.
(addressbook_source_dialog_get_source): get the email address from
the email entry.
(addressbook_source_dialog): hook up the email entry to the
changed signal foo, as well as the focus handler for displaying
help text.
svn path=/trunk/; revision=13486
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-16 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-storage.h: reorder the LDAP scopes so
that they match the order of the option menus in the glade file.
* gui/component/addressbook-config.c (auth_checkbutton_changed):
new function, mostly there to house some #ifdef'ed out code.
(option_menuitem_activated): new function, to keep track of
changes to the ldap scope optionmenu.
(addressbook_source_dialog_set_source): set the menu history as
well as the dialog's copy of the scope.
(addressbook_source_dialog_get_source): fill in the source's scope
from the dialog's copy, and add more #if the_ui_gods_smile_on_me
code.
(add_activate_cb): new function, add an activate callback for the
optionmenu's items.
(addressbook_source_dialog): more #if the_ui_gods_smile_on_me
code, always start the dialog on page 0, and hook up the
scope optionmenu's items.
svn path=/trunk/; revision=12865
|
|
|
|
|
|
|
|
|
|
| |
2001-08-13 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c
(addressbook_source_dialog_set_source): don't access source->auth
if source == NULL (bug #7086).
svn path=/trunk/; revision=11988
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-09 Chris Toshok <toshok@ximian.com>
[ Fixes ximian bugs #5080, #6021, #6704, #6705 ]
* gui/component/addressbook.c (book_open_cb): create our own
dialog that prompts for both the email address and the password.
the email address is stored in the source and filled in for the
user after the first time they enter one and press OK.
* gui/component/addressbook-storage.c (create_ldap_folder): has a
return value, not a int* parameter.
(create_ldap_folder): new function, we can create ldap servers
from the File->New->Folder menu item now.
(register_storage): hook up the "create_folder" signal.
(addressbook_storage_init_source_uri): remove the file case, we
only build ldap uris here.
(load_source_data): remove the file source stuff, and handle
"emailaddr".
(save_source_data): call ldap_source_foreach directly.
(addressbook_source_free): remove file source stuff.
(addressbook_source_copy): same.
* gui/component/addressbook-storage.h: get rid of all the file
source stuff from AddressbookSource, since this is only being used
for ldap servers.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_authenticate_user): look up the ldap
entry based on the provided email address and use the resulting
DN/passwd to authenticate.
* gui/component/addressbook-config.c: pretty much gutted to make
it work with the new UI.
* gui/component/addressbook-config.glade: new version from anna.
svn path=/trunk/; revision=11834
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-30 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/evolution-vcard-importer.c: Added #include
<e-util/e-path.h>.
2001-07-23 Zbigniew Chyla <cyba@gnome.pl>
* gui/component/addressbook-config.c (addressbook_source_dialog):
Convert translated string to UTF8 before calling put_html.
svn path=/trunk/; revision=11496
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-16 Chris Toshok <toshok@ximian.com>
[ Fix bug #4705 - LDAP storage gets saved with corrupted binddn]
* gui/component/addressbook-config.c (addressbook_dialog_apply):
call addressbook_storage_write_sources here after we're done
rebuilding them.
* gui/component/addressbook-storage.c
(addressbook_storage_clear_sources): don't write the source file
here.
(addressbook_storage_add_source): same.
(addressbook_storage_remove_source): same.
(addressbook_storage_write_sources): new function, write the
source file out.
(addressbook_source_copy): g_strdup the binddn so we don't end up
free'ing it multiple times thanks to copies freeing theirs.
* gui/component/addressbook-storage.h: add prototype for
address_storage_write_sources.
svn path=/trunk/; revision=11146
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-20 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook-config.c
(addressbook_source_item_new): Removed an unused variable.
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Made text here non-const.
* gui/component/select-names/e-select-names-popup.c
(edit_contact_info_cb): Cast to a gpointer here.
* gui/component/select-names/e-select-names.c
(e_addressbook_create_ebook_table): Cast to E_TABLE_MODEL here.
svn path=/trunk/; revision=9902
|
|
|
|
|
|
|
|
|
| |
2001-05-11 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c (addressbook_source_dialog):
correct bug causing the Ok button to never be enabled.
svn path=/trunk/; revision=9779
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-11 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard-view.c (e_minicard_view_drag_data_get):
use e_card_list_get_vcard to build up the data to send.
(e_minicard_view_init): connect to the model's drag_begin signal.
(e_minicard_view_drag_begin): gather the list of cards being
dragged and call gtk_drag_begin.
(add_to_list): new function.
(get_card_list): same.
(disconnect_signals): disconnect the drag_data_get signal.
(e_minicard_view_init): connect to the drag_begin signal on our
model.
* gui/widgets/e-minicard-view.h (struct _EMinicardView): change
drag_card to drag_list.
* gui/widgets/e-minicard-view-model.c (minicard_drag_begin): new
function, emit our drag_begin signal.
(addressbook_incarnate): connect to the item's drag_begin signal.
(e_minicard_view_model_class_init): init our drag_begin signal.
* gui/widgets/e-minicard-view-model.h: add drag_begin signal.
* gui/component/addressbook-config.c (addressbook_source_dialog):
always loop through all source types here, making LDAP first so
it's forces as the first notebook item.
(addressbook_config_auth_label): remove SASL case.
(addressbook_source_edit_changed): same.
(addressbook_source_item_new): flag the area of code that needs to
go into the advanced dialog (if we add one before someone
graciously redesigns the entire addressbook gui :)
* gui/component/addressbook-storage.c (ldap_unparse_auth): remove
SASL case.
(ldap_parse_auth): same.
* gui/component/addressbook-storage.h: make LDAP come first in our
source type enumeration, and remove the SASL auth type.
svn path=/trunk/; revision=9774
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Kjartan Maraas <kmaraas@gnome.org>
* *.*: Clean up #includes. Replace <gnome.h>, <bonobo.h> and
<gtk/gtk.h> with more finegrained headers where needed.
svn path=/trunk/; revision=9026
|
|
|
|
|
|
|
|
|
| |
2001-02-05 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook-config.c (table_add_elem): Save the
help_text in the closure.
svn path=/trunk/; revision=7998
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-29 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c
(addressbook_config_source_label): #ifdef INCLUDE_FILE_SOURCE.
(table_add_elem): add help_text parameter and set up focus_in
events to display the help in the dialog's html area.
(focus_help): new function, calls put_html on the help text.
(addressbook_ldap_auth_item_new): add help texts.
(addressbook_source_item_new): add help texts.
(addressbook_source_dialog): add help texts.
svn path=/trunk/; revision=7906
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-04 Chris Toshok <toshok@helixcode.com>
* backend/ebook/e-book-listener.c
(e_book_listener_queue_authentication_response): new function.
(impl_BookListener_respond_authentication_result): new function.
(e_book_listener_get_epv): fill in
epv->notifyAuthenticationResult.
* backend/ebook/e-book-listener.h: add AuthenticationResponse to
EBookListenerOperation.
* backend/ebook/e-book.c (e_book_authenticate_user): new function.
* backend/ebook/e-book.h: add prototype for
e_book_authenticate_user.
* backend/idl/addressbook.idl (GNOME:Evolution:Addressbook:Book):
add authenticateUser method.
(GNOME:Evolution:Addressbook:BookListener): add
AuthenticationFailed and AuthenticationRequired to CallStatus.
also add notifyAuthenticationResult method.
* backend/pas/pas-backend-file.c
(pas_backend_file_process_authenticate_user): dummy
authenticate_user function that always succeeds.
(pas_backend_file_process_client_requests): respond to the
AuthenticateUser request.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_build_query):
gtk_object_unref(sexp) => s_exp_unref(sexp).
(pas_backend_ldap_process_authenticate_user): fill in to use
ldap_simple_bind_s.
(pas_backend_ldap_process_client_requests): respond to the
AuthenticateUser request.
* backend/pas/pas-book.c (pas_book_queue_authenticate_user): new
function.
(impl_GNOME_Evolution_Addressbook_Book_authenticateUser): new
function.
(pas_book_respond_authenticate_user): new function.
(pas_book_get_epv): fill in epv->authenticateUser.
* backend/pas/pas-book.h: add AuthenticateUser operation type, and
add user/passwd to the PASRequest struct.
* gui/component/addressbook-storage.c
(addressbook_storage_get_source_by_uri): new function. should use
a hashtable, perhaps, but the lists will generally be small
anyway.
* gui/component/addressbook-storage.h: add prototype for
addressbook_storage_get_source_by_uri.
* gui/component/addressbook-config.c
(addressbook_source_dialog_set_source): fill in the binddn if the
auth page is shown.
* gui/component/addressbook.c (book_open_cb): shoe-horn
authentication in here. if the source was configured to use
authentication, authenticate the user after opening the ebook.
also, be paranoid and clear out the password after authenticating.
(book_auth_cb): callback for auth. set the "book" arg on the
view->view here.
(passwd_cb): set the view's passwd that'll be used in
book_open_cb.
(addressbook_view_free): g_free view->passwd.
svn path=/trunk/; revision=7265
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-30 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook-config.c (edit_source_clicked): copy
the dialog's source, destroy the dialog after we're done, and make
sure to update both columns in the clist.
(add_source_clicked): copy the dialog's source, and destroy the
dialog when we're done.
(addressbook_source_dialog_destroy): free up all the dialog's
memory.
* gui/component/addressbook.c (set_prop): allow file: uri's that
point to files, not just dirs that contain addressbook.db. The
rule is the addressbook file has to end in .db.
* gui/component/addressbook-storage.c (file_source_foreach):
contactserver => contactfile. cut and paste error.
(addressbook_storage_init_source_uri): use file://%s to build the
uri.
* gui/component/e-ldap-server-dialog.[ch]: forgot to remove these
in my last commit.
svn path=/trunk/; revision=7199
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
2000-12-28 Chris Toshok <toshok@helixcode.com>
* gui/component/Makefile.am (evolution_addressbook_SOURCES): add
addressbook-config.[ch].
* gui/component/addressbook-config.c,
gui/component/addressbook-config.h: new files, containing at the
moment a beautiful "new/edit source dialog" inspired by the
mail-config-gui code. It'll be ready for prime time after rev'ing
the .xml file the addressbook uses to store it's "other sources"
to include files, and the addition of the ldap auth stuff.
svn path=/trunk/; revision=7191
|