2004-06-25 Hans Petter Jansson <hpj@ximian.com>
* gui/meging/eab-contact-compare.[ch] (eab_contact_compare_file_as):
Implement.
(eab_contact_compare_name): Don't leak if only one of the strings is
NULL.
(use_common_book_cb): Include file_as in query.
svn path=/trunk/; revision=26527
2004-06-25 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (fill_in_address_textview): Add
a newline between street line and rest of extended address.
(extract_address_textview): Omit the newline trailing the street line.
svn path=/trunk/; revision=26526
2004-06-25 JP Rosevear <jpr@novell.com>
* gui/dialogs/alarm-dialog.c (alarm_to_dialog): set the default
address here if possible
(dialog_to_alarm): don't set it here
(check_custom_email): check for To: entries
(malarm_addresses_changed_cb): update when the text in the to entry changes
(action_selection_done_cb): for the custom email settings
(init_widgets): listen for email To: changes
(alarm_dialog_run): only save the alarm if the response was "OK"
svn path=/trunk/; revision=26516
2004-06-25 JP Rosevear <jpr@novell.com>
* gui/dialogs/event-page.c (event_page_init): init alarm interval
to -1
(clear_widgets): give the alarm time option menu a sensible
default
(is_custom_alarm): account for the user defined alarm time if it
doesn't match the default set
(event_page_fill_widgets): default the option menu to the 15
minute or user define alarm if no alarm is currently set
(event_page_fill_component): account for the user defined alarm
tme
(init_widgets): add in the user defined alarm time if it doesn't
match the default set
svn path=/trunk/; revision=26515
2004-06-23 Jeffrey Stedfast <fejj@novell.com>
* em-folder-selector.c (em_folder_selector_get_selected_path):
Don't prepend the path string with a '/'.
* em-folder-tree.c (em_folder_tree_create_folder): This takes a
full_name so update the argument to make that clear.
(emft_create_folder): Same and also don't strip a leading '/'
svn path=/trunk/; revision=26513
2004-06-25 JP Rosevaer <jpr@novell.com>
* gui/dialogs/alarm-dialog.c (palarm_widgets_to_alarm): the args
are optional, don't store them if they aren't there
(check_custom_sound): sensitize the ok button based on whether or
not there needs to be input
(check_custom_message): ditto
(check_custom_program): ditto
(dalarm_message_toggled_cb): check custom message
(dalarm_description_changed_cb): ditto
(aalarm_sound_toggled_cb): check custom sound
(aalarm_attach_changed_cb): ditto
(palarm_program_changed_cb): check custom program
(action_selection_done_cb): use above checks as appropriate
(init_widgets): listen for changed signals
svn path=/trunk/; revision=26512
004-06-25 JP Rosevear <jpr@novell.com>
* gui/dialogs/event-page.c (event_page_finalize): free old_summary
(is_custom_alarm): take description into account when checking for
custom alarm
(is_custom_alarm_uid_list): pass old_summary
(is_custom_alarm_store): ditto
(is_custom_alarm_store): ditto
(sensitize_widgets): ditto
(event_page_fill_component): ditto
(event_page_fill_widgets): store the initial summary
(alarm_changed_cb): make sure the needs description property gets
set on the default alarm
(alarm_custom_clicked_cb): copy the current store in case the user
hits cancel, if all the alarms are erased uncheck the alarm toggle
* gui/dialogs/alarm-dialog.glade: add toggles for custom messages
and sound
* gui/dialogs/alarm-dialog.c (aalarm_widgets_to_alarm): store
custom sound only if the toggle is checked
(dalarm_widgets_to_alarm): store custom message only if toggle is
checked
(get_widgets): load new widgets
(aalarm_sound_toggled_cb): sensitize sound entry
(dalarm_message_toggled_cb): sensitize message entry
(init_widgets): listen for toggle signals
svn path=/trunk/; revision=26511
2004-06-24 Hans Petter Jansson <hpj@ximian.com>
* util/eab-book-util.c (eab_contact_list_from_string): Don't accept
input that doesn't have at least a "BEGIN:VCARD" in it.
svn path=/trunk/; revision=26505
2004-06-24 Jeffrey Stedfast <fejj@novell.com>
* providers/pop3/camel-pop3-store.c (connect_to_server): Error out
and set an exception if camel_pop3_engine_new() returns NULL
(which it can do now).
* providers/pop3/camel-pop3-engine.c (get_capabilities): No longer
reads the greeting.
(camel_pop3_engine_new): Reads the greeting itself and returns
NULL if an error occurs (like stupid braindamaged piece of shit
POP servers that spew debug prinfs).
svn path=/trunk/; revision=26504
2004-06-24 Rodney Dawes <dobey@novell.com>
* e-error.c (e_error_newv): Fix alignment of the icon to be 0x0
Fixes#60493
svn path=/trunk/; revision=26503
2004-06-24 JP Rosevear <jpr@novell.com>
* gui/dialogs/alarm-list-dialog.c (selection_changed_cb):
sensitize the buttons
(init_widgets): listen for selection changes so we can delete
alarms
svn path=/trunk/; revision=26502
2004-06-24 Rodney Dawes <dobey@novell.com>
* em-utils.c (em_utils_add_address): Add code to set the parent,
position, and type hint of the "Add address" dialog
Fixes#60030
svn path=/trunk/; revision=26501
2004-06-24 JP Rosevear <jpr@novell.com>
* gui/dialogs/event-page.c (event_page_fill_component): store all
the custom alarms
(alarm_custom_clicked_cb): emit changed signal if necessary
* gui/dialogs/alarm-list-dialog.c (alarm_list_dialog_run): return
true/false based on button pushed
* gui/dialogs/alarm-dialog.c: move repeat options and per alarm
type options here
* gui/dialogs/alarm-dialog.glade: ditto
* gui/dialogs/Makefile.am: remove alarm options dialog
svn path=/trunk/; revision=26500
2004-06-24 Jeffrey Stedfast <fejj@novell.com>
* providers/local/camel-spool-folder.c (spool_lock): If we fail to
lock the folder, close the lockfd and reset it to -1. Fixes bug
#54680.
svn path=/trunk/; revision=26499
2004-06-24 Rodney Dawes <dobey@novell.com>
* gui/calendar-component.c (create_component_view):
* gui/tasks-component.c (create_component_view):
Add a call to e_source_selector_set_select_new here so that we can
select new sources when we create them
2004-06-24 Rodney Dawes <dobey@novell.com>
* e-source-selector.[ch]: Add new "select_new" property to
private structure of the ESourceSelector
(rebuild_cb): Add code to select the new source, and cause the
selection_changed signal to get emitted, if we select new sources
(init): Don't select new sources by default
(e_source_selector_set_select_new): Add function to set whether or not
we want to select new sources when we add them
svn path=/trunk/; revision=26498
2004-06-24 Radek Doulik <rodo@ximian.com>
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_get_textification): do not limit the text
len to 2047 characters
See bug #60366
svn path=/trunk/; revision=26497
2004-06-24 Not Zed <NotZed@Ximian.com>
** See bug #57367.
* e-shell-window.c (e_shell_window_new): fix gconf client leak and
clean up some logic.
* e-shell.c (e_shell_construct): dont activate the components
individually, component registry does that implictly.
* e-component-registry.c (init): dont call query_components here.
(query_components): setup a run-once guard. before adding a
component info to the list, make sure we can activate it.
(component_info_new): take the interface as a construct argument
now.
(e_component_registry_peek_list): perform the component list query
if we haven't already.
(e_component_registry_peek_info): same.
(e_component_registry_activate): just always return
the reffed component, it isn't added unless it was already activated.
svn path=/trunk/; revision=26490
2004-06-23 Jeffrey Stedfast <fejj@novell.com>
* providers/imap4/camel-imap4-store.c (imap4_get_folder_info):
First LIST/LSUB the toplevel folder, and then LIST/LSUB the
subfolders (it needs to be 2 commands to work properly).
(imap4_delete_folder): CLOSE the folder we are about to DELETE if
it is currently SELECTED.
svn path=/trunk/; revision=26489
2004-06-23 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/contact-editor.glade: Set window to be invisible
initially.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Set
the type hint to "normal", and show the window after init.
svn path=/trunk/; revision=26487
2004-06-23 Not Zed <NotZed@Ximian.com>
* gui/widgets/eab-gui-util.c
(eab_send_contact_list_as_attachment): use memcpy not strcpy to
copy to memory buffer. Fixes a UMW. See #60532.
svn path=/trunk/; revision=26486
2004-06-23 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-view.c: Add an x-source-vcard target entry
that includes the source book URI.
(destroy_merge_context): Implement.
(removed_contact_cb): Implement.
(merged_contact_cb): Implement.
(selector_tree_drag_data_received): Get the source and target books,
and see if we need to remove contacts from source after they're added
to target. Copy contacts sequentially, not in parallel, with a
callback.
* gui/widgets/e-addressbook-view.c: Add an x-source-vcard target entry
that includes the source book URI.
(table_drag_data_delete): Remove. This is handled by the drag target.
(table_drag_data_get): Handle more than one contact. Supply source.
(create_table_view): Don't connect to the delete signal.
* gui/widgets/e-minicard-view.c: Add an x-source-vcard target entry
that includes the source book URI.
(e_minicard_view_drag_data_delete): Remove. This is handled by the
drag target.
(e_minicard_view_drag_data_get): Handle x-source-vcard target.
(e_minicard_view_drag_begin): Don't connect to the delete signal.
(e_minicard_view_dispose): Don't disconnect from the delete signal.
(e_minicard_view_init): Don't init delete_id.
* gui/widgets/e-minicard-view.h: Remove delete_id from struct.
* util/eab-book-util.[ch] (eab_contact_list_from_string): Skip the
source URI if present.
(eab_book_and_contact_list_from_string): Create the source book from
the provided URI, if present.
(eab_book_and_contact_list_to_string): Include the book URI in
generated string.
svn path=/trunk/; revision=26485
2004-06-23 Jeffrey Stedfast <fejj@novell.com>
* providers/imap4/camel-imap4-store.c (imap4_build_folder_info):
Hide password, etc info in the fi->uri's.
(imap4_create_folder): Don't bother to use
imap4_get_folder_info(), we can construct the fi ourselves.
(imap4_delete_folder): Emit the folder_deleted signal and
construct an fi ourselves.
(imap4_subscribe_folder): Same.
(imap4_unsubscribe_folder): Same.
* providers/imap4/camel-imap4-provider.c: Specify that the
fragment is the path.
svn path=/trunk/; revision=26483
2004-06-23 Jeffrey Stedfast <fejj@novell.com>
* providers/imap4/camel-imap4-store.c (imap4_build_folder_info):
Hide password, etc info in the fi->uri's.
* providers/imap4/camel-imap4-provider.c: Specify that the
fragment is the path.
svn path=/trunk/; revision=26482
2004-06-23 Jeffrey Stedfast <fejj@novell.com>
* conduits/todo/todo-conduit.c: Bump the version to 0.1.5 to help
track down bug #59726.
svn path=/trunk/; revision=26481
2004-06-23 JP Rosevear <jpr@novell.com>
* gui/dialogs/comp-editor.c (comp_editor_init): set the window
type hint to normal so it can go below the shell window
svn path=/trunk/; revision=26480
2004-06-23 Rodrigo Moya <rodrigo@novell.com>
* gui/dialogs/comp-editor.c (comp_editor_notify_client_changed):
fixed gtk-doc comments and made it enable/disable the dialog's
OK button depending on the selected source.
svn path=/trunk/; revision=26479
2004-06-23 Rodney Dawes <dobey@novell.com>
* gui/calendar-component.c: Revert previous change to add the
callbacks for notification of calendar selection changes
(create_new_view): Update the comment for watching notification on
the tasks selection to state it is for the mini tasks view
svn path=/trunk/; revision=26478
2004-06-23 JP Rosevear <jpr@novell.com>
Fixes#57862
* gui/gnome-cal.c (connect_day_view_focus): connect after the
focus events happen so the day view knows what is selected
svn path=/trunk/; revision=26477
2004-06-23 Rodney Dawes <dobey@novell.com>
* gui/component/select-names/select-names.glade:
Move the search bar to the top and add a label _Search so that the
entry has a mnemonic for keyboard accessibility
Fixes#52914 and #58448
svn path=/trunk/; revision=26476
2004-06-23 JP Rosevear <jpr@novell.com>
* gui/e-itip-control.c (update_attendee_status): tidy up to work
again
(ok_clicked_cb): use above when replying
svn path=/trunk/; revision=26474
2004-06-23 JP Rosevear <jpr@novell.com>
* gui/dialogs/meeting-page.c (remove_attendee): util function to
do the actual removal
(remove_attendee_at_row): ditto based on row number
(remove_clicked_cb): make the remove button work
(popup_delete_cb): use utility routines to do removal
(button_press_event): do the icon properly
svn path=/trunk/; revision=26473
2004-06-23 Not Zed <NotZed@Ximian.com>
** See #54030.
* e-searching-tokenizer.c (e_searching_tokenizer_match_count):
only return a count if we're using the primary search string.
* em-format-html-display.c (efhd_search_response): set the primary
search string to NULL instead of resetting it.
(efhd_update_search): dont noop if we have a null search text,
just set an empty search.
* e-searching-tokenizer.c (e_searching_tokenizer_reset): remove
this, revert jeff's fixes for 54030. this is incomplete and so
doesn't work either (search text stays remembered and secondary
search text lost too).
** See #60523.
* em-folder-view.c (emfv_finalise): unhook the folder changed
before destroying the async thing, and move it all to destroy
event anyway.
(emfv_destroy): as above.
svn path=/trunk/; revision=26472
2004-06-22 V Ravi Kumar Raju <vravikr@yahoo.co.uk>
* evolution-addressbook.xml: Remove the Menu Seperator in View
Menu when in the contacts view.
svn path=/trunk/; revision=26471