2003-10-23 JP Rosevear <jpr@ximian.com>
* pcs/cal.c (cal_notify_object_modified): guard against irrelevant
args (ie if there was an error)
(cal_notify_object_removed): ditto
(cal_notify_timezone_added): ditto
* pcs/cal-backend-sync.c (_cal_backend_is_read_only): init value
to something known
(_cal_backend_get_cal_address): ditto
(_cal_backend_get_alarm_email_address): ditto
(_cal_backend_get_ldap_attribute): ditto
(_cal_backend_get_static_capabilities): ditto
(_cal_backend_modify_object): ditto
(_cal_backend_remove_object): ditto
(_cal_backend_get_object_list): ditto
2003-10-22 JP Rosevear <jpr@ximian.com>
* gui/e-cal-list-view.c (e_cal_list_view_new): create a model and
pass it as an arg during creation
* gui/e-day-view.c (e_day_view_new): unref the model
* gui/e-week-view.c (e_week_view_new): ditto
2003-10-22 JP Rosevear <jpr@ximian.com>
* cal-client/cal-client.c (cal_client_get_object): only change to
invalid object error code if we got the object but couldn't parse
it, and only check for timezones if we had success
* gui/comp-util.c (cal_comp_is_on_server): don't throw a warning
if the object simply does not exist
svn path=/trunk/; revision=23032
003-10-21 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c: make it work with the new ebook api
* backend/pas/pas-book.c (pas_book_respond_get_changes): put the
vcard in for every change
* backend/pas/pas-backend.c (pas_backend_change_add_new): just use
the vcard field
(pas_backend_change_modify_new): ditto
(pas_backend_change_delete_new): ditto
* backend/pas/pas-backend-file.c
(pas_backend_file_changes_foreach_key): create a fake contact with
the uid
(pas_backend_file_get_changes): add the card to the changes
* backend/ebook/tests/ebook/test-changes.c (main): just print the
uid
* backend/ebook/e-book.c (e_book_free_change_list): unref the
contact
* backend/ebook/e-book-types.h: the change struct contains an
EContact now
* backend/ebook/e-book-listener.c
(impl_BookListener_respond_get_changes): create the contact from
the vcard string
* backend/idl/addressbook.idl: Book change item is no longer a
union, it always gives back a card
svn path=/trunk/; revision=23031
2003-10-23 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.c (e_cal_view_init): connect also to ETableModel's
"model_cell_changed" signal.
(e_cal_view_set_model): likewise.
(model_cell_changed_cb): callback for "model_cell_changed".
(e_cal_view_destroy): use g_signal_handlers_disconnect_matched instead
of g_signal_handlers_disconnect_by_func, so that all handlers are
disconnected.
svn path=/trunk/; revision=23029
2003-10-22 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.[ch] (gnome_calendar_remove_event_uri): new
function to remove calendars from the views.
svn path=/trunk/; revision=23027
* e-sidebar.c (e_sidebar_add_button): Add a little border to the
buttons so it looks nicer.
* e-component-registry.c (query_components): Set an icon from the
"evolution:button_icon" attribute.
svn path=/trunk/; revision=23023
it doesn't fail to regenerate the files if you run make without a
manual autogen after making changes to configure.in and friends.
[Many thanks to Marco Pesenti Gritti for pointing out the fix to
me.]
svn path=/trunk/; revision=23018
2003-10-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-component.c (parse_uid_list): Removed, use
em_utils_selection_get_uidlist() instead.
(drop_uid_list): Use em_utils_selection_get_uidlist() to parse the
x-uid-list selection data and use mail_tool_uri_to_folder()
directly since we have the uri (originally we expected the first
component of the selection data to be the e-storage-set-view
folder path rather than the uri).
(folder_receive_drop_cb): Call gtk_drag_finish() here.
* message-list.c: s/x-evolution-message/x-uid-list/
* em-utils.c: Same.
svn path=/trunk/; revision=23004
2003-10-21 Chris Toshok <toshok@ximian.com>
* tools/evolution-addressbook-abuse.c: use the synchronous api for
this. simplifies it a bunch.
2003-10-21 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book.c
(impl_GNOME_Evolution_Addressbook_Book_remove): we can ill afford
bad debug spew.
(view_listener_died_cb): implement.
(impl_GNOME_Evolution_Addressbook_Book_getBookView): hook up an
ORBit_small connection listener on the view's listener.
(pas_book_respond_create): use e_contact_get_const instead of
e_contact_get here. fixes a leak.
* backend/pas/pas-book-view.c
(impl_GNOME_Evolution_Addressbook_BookView_stop): implement, call
pas_backend_stop_book_view.
(pas_book_view_get_listener): return the book view's listener.
(pas_book_view_class_init): fill in epv->stop.
(pas_book_view_init): use a #define for THRESHOLD_MAX instead of
the constant.
* backend/pas/pas-book-view.h: add prototype for
pas_book_view_get_listener.
* backend/pas/pas-backend.c (pas_backend_stop_book_view):
implement.
(pas_backend_remove_book_view): implement.
* backend/pas/pas-backend.h: add prototype for stop_book_view and
remove_book_view.
* backend/pas/pas-backend-vcf.c (load_file): pass in the fd and
use fdopen here.
(foreach_build_list): don't creat EContacts here, because we'll
just be converting them back to vcards anyway.
(save_file): use char*'s instead of EContacts, and split entries
with 2 blank lines. Also, hold the lock over the entire function.
(do_create): hold the lock around uid generation and touching the
hash table.
(pas_backend_vcf_process_remove_contacts): same.
(pas_backend_vcf_process_modify_contact): same.
(pas_backend_vcf_stop_book_view): new function, but leave
unimplemented for now.
(pas_backend_vcf_load_uri): the uri contains the directory name,
not the filename.
(pas_backend_vcf_dispose): grab the lock here just for sanity's
sake. Also reorder things a bit, and free the hashtable and
mutex.
(pas_backend_vcf_init): init the mutex.
* backend/pas/pas-backend-summary.c
(pas_backend_summary_add_contact): don't unref the contact here.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_stop_book_view): new function, but leave
unimplemented for now.
* backend/pas/pas-backend-file.c (build_summary): use an EContact
for this call.
(do_summary_query): nuke, the contents of this has been moved to
start_book_view.
(pas_backend_file_search_timeout): same.
(pas_backend_file_search): same.
(pas_backend_file_start_book_view): glom everything into here
involving searching. This function could (and should) be renamed
and reused from both this function and _get_contact_list.
(pas_backend_file_stop_book_view): new function.
(pas_backend_file_class_init): fill in backend->stop_book_view.
* backend/pas/Makefile.am (LDAP_BACKEND): libpasldap.a ->
libpasldap.la
(noinst_LTLIBRARIES): *.a -> *.la.
(libpas_la_SOURCES): same.
(libpasfile_la_SOURCES): same.
(libpasvcf_la_SOURCES): same.
(libpasldap_la_SOURCES): same.
* backend/idl/addressbook.idl: add BookView::stop.
* backend/ebook/e-vcard.c (read_attribute_value): fix GString
related leaks.
(read_attribute_params): same.
(parse): don't leak the EVCardAttributes corresponding to
BEGIN/END:vCard.
(free_gstring): new function
(e_vcard_attribute_remove_values): free the decoded_values list,
using free_gstring.
* backend/ebook/e-book.c (e_book_response_get_book_view): ref the
listener here.
* backend/ebook/e-book-view.h: add prototype for e_book_view_stop.
* backend/ebook/e-book-view.c (e_book_view_stop): new function.
* backend/ebook/e-book-async.c (_get_book_view_response_dtor):
unref the book view.
svn path=/trunk/; revision=23000
2003-10-21 Chris Toshok <toshok@ximian.com>
* GNOME_Evolution_WombatLDAP.server.in.in: add vcf to
supported_protocols.
* GNOME_Evolution_WombatNOLDAP.server.in.in: same.
* wombat.c (setup_pas): register the vcf backend.
* Makefile.am (evolution_wombat_LDADD): replace the conditional
libpasldap stuff and the references to all the libpas* backends
with libpas.la.
svn path=/trunk/; revision=22999
* filter.glade: Remove Viewports around the treeviews, since they
already have a scrolled window around them and the viewports cause
a double bevel to appear.
* rule-editor.c (rule_editor_treeview_new): Make the scrolled
window have a GTK_SHADOW_IN shadow.
* vfolder-rule.c (vfolder_editor_sourcelist_new): Likewise
svn path=/trunk/; revision=22997
* gui/component/addressbook-component.c (impl_createControls):
Make the the scrolled window have an "in" shadow.
* gui/component/addressbook-config.c
(addressbook_dialog_create_sources_table): Likewise.
* gui/widgets/e-addressbook-view.c (create_minicard_view): Likewise.
(create_treeview_view): Likewise.
svn path=/trunk/; revision=22996
* importer/intelligent.c (create_gui): Make the scrolled window
have a GTK_SHADOW_IN shadow.
* e-shell-window.c (setup_widgets): Make the notebooks not have
borders.
(setup_widgets): Fix typo: e_get_language_list() returns a GSList,
not a GList.
svn path=/trunk/; revision=22995
* gui/calendar-component.c (impl_createControls): Make the
scrolled window have a GTK_SHADOW_IN shadow.
* gui/dialogs/meeting-page.c (meeting_page_construct): Likewise.
svn path=/trunk/; revision=22994
* mail-component.c (impl_createControls): Use
e_storage_browser_peek_widget_scrolled() to retrieve the scrolled
window that the EStorageSetView is contained in.
* e-storage-browser.c (struct _EStorageBrowserPrivate): New member
"storage_set_view_scrolled".
(e_storage_browser_new): Put the storage_set_view in a scrolled
window. Set priv->storage_set_view_scrolled to this scrolled
window.
(e_storage_browser_peek_tree_widget_scrolled): New.
svn path=/trunk/; revision=22993
(button_toggled_callback): Add a cast.
(e_sidebar_set_selection_widget): Handle the NULL widget case
properly.
(impl_remove): New, implementation for GtkContainer::remove.
(do_layout): Add padding between the selection_widget and the
button box.
svn path=/trunk/; revision=22989
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an
"evolution:button_label" property on the component for use in the
shell.
* gui/GNOME_Evolution_Calendar.server.in.in: Add an
"evolution:button_label" property on the component for use in the
shell.
* GNOME_Evolution_Mail.server.in.in: Add an
"evolution:button_label" attribute to the Component for use in the
shell.
* e-shell-window.c (struct _ComponentView): New member button_id.
(struct _EShellWindowPrivate): New member sidebar.
(component_new_new): Get a button_id arg.
(component_button_clicked_callback): Removed.
(sidebar_button_selected_callback): New.
(create_component_button): Removed.
(setup_widget): Set up the sidebar using ESidebar and hook up its
"button_selected" signal. Also get the component name from a
property on the server info.
(e_shell_window_new): Use BASE_VERSION for the version in the app
name instead of hardcoding "1.5".
* e-sidebar.c: New.
* e-sidebar.h: New.
svn path=/trunk/; revision=22988
* GNOME_Evolution_Shell.server.in.in: Append a _2 to all the IIDs.
* e-shell.h (E_SHELL_OAFIID): Change to "GNOME_Evolution_Shell_2"
so it does not conflict with the old IID.
svn path=/trunk/; revision=22987
2003-10-22 Jeffrey Stedfast <fejj@ximian.com>
* e-shell-window.c (e_shell_window_new): Change to "evolution-1.5"
- although, ideally, this should be a config.h macro or something.
svn path=/trunk/; revision=22984