Commit Graph

21533 Commits

Author SHA1 Message Date
Hans Petter Jansson 8993f0bf12 Implement. (eab_contact_compare_name): Don't leak if only one of the
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-26 01:42:27 +00:00
Hans Petter Jansson 19ed9cded5 Add a newline between street line and rest of extended address.
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-26 01:40:03 +00:00
Jeffrey Stedfast 497bf57430 remove more debugging printfs
svn path=/trunk/; revision=26525
2004-06-25 19:22:56 +00:00
Jeffrey Stedfast c04a0ac796 fixed an uninitialised memory read from my last fix
svn path=/trunk/; revision=26524
2004-06-25 19:06:25 +00:00
Rodney Dawes bceb25b9a0 Added notexist to .cvsignore
svn path=/trunk/; revision=26523
2004-06-25 18:30:59 +00:00
Rodney Dawes 09de2b1062 Update for removed files
2004-06-25  Rodney Dawes  <dobey@novell.com>

	* POTFILES.in: Update for removed files

svn path=/trunk/; revision=26522
2004-06-25 18:30:19 +00:00
Nguyen Thai Ngoc Duy 632b426c8c update vi.po
svn path=/trunk/; revision=26520
2004-06-25 18:05:01 +00:00
JP Rosevear 67d9b6d41c don't show option tabs
2004-06-25  JP Rosevear  <jpr@novell.com>

	* gui/dialogs/alarm-dialog.glade: don't show option tabs

svn path=/trunk/; revision=26519
2004-06-25 17:39:26 +00:00
JP Rosevear 05dc817ea1 use "Task" instead of "Basic"
2004-06-25  JP Rosevear  <jpr@novell.com>

	* gui/dialogs/task-editor.c (task_editor_construct): use "Task"
	instead of "Basic"

	* gui/dialogs/event-editor.c (event_editor_construct): use
	"Invitations" instead of "Meeting"

svn path=/trunk/; revision=26518
2004-06-25 17:37:35 +00:00
JP Rosevear 6a4275e077 use "Contacts..."
2004-06-25  JP Rosevear  <jpr@novell.com>

	* gui/dialogs/e-delegate-dialog.glade: use "Contacts..."

	* gui/dialogs/alarm-dialog.glade: add custom message email toggle

	* gui/dialogs/alarm-dialog.c (get_widgets): get custom email
	message toggle
	(check_custom_email): check the custom message when setting
	sensitivity of OK button
	(malarm_message_toggled_cb): check custom email
	(malarm_description_changed_cb): ditto
	(action_selection_done_cb): ditto

svn path=/trunk/; revision=26517
2004-06-25 17:35:55 +00:00
JP Rosevear 71bd5f404a set the default address here if possible (dialog_to_alarm): don't set it
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 17:09:13 +00:00
JP Rosevear ff93848d8d init alarm interval to -1 (clear_widgets): give the alarm time option menu
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-25 15:23:30 +00:00
Jeffrey Stedfast 46d1d136e7 Fixed to handle :pass in proto://user:pass@host. Fixes bug #60104.
2004-06-25  Jeffrey Stedfast  <fejj@novell.com>

	* camel-url-scanner.c (camel_url_web_end): Fixed to handle :pass
	in proto://user:pass@host. Fixes bug #60104.

svn path=/trunk/; revision=26514
2004-06-25 15:09:21 +00:00
Jeffrey Stedfast ead0633d3b Don't prepend the path string with a '/'.
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 14:44:49 +00:00
JP Rosevaer 8f5eaf4319 the args are optional, don't store them if they aren't there
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
2004-06-25 14:22:00 +00:00
JP Rosevear 3c8ba7a13f free old_summary (is_custom_alarm): take description into account when
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-25 13:37:39 +00:00
Not Zed c3744c7c3c set search column. #60152.
2004-06-25  Not Zed  <NotZed@Ximian.com>

        * em-folder-tree.c (folder_tree_new): set search column.  #60152.

svn path=/trunk/; revision=26507
2004-06-25 04:15:38 +00:00
Hans Petter Jansson 1356a297e6 Add table. (append_to_address_label): Implement. (set_address_label):
2004-06-24  Hans Petter Jansson  <hpj@ximian.com>

	* gui/contact-editor/e-contact-editor.c (address_labels): Add table.
	(append_to_address_label): Implement.
	(set_address_label): Implement.
	(extract_address_record): Set the address label fields.

svn path=/trunk/; revision=26506
2004-06-25 00:44:02 +00:00
Hans Petter Jansson 86147a23fa Don't accept input that doesn't have at least a "BEGIN:VCARD" in it.
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 22:49:00 +00:00
Jeffrey Stedfast 0ef312f45d Error out and set an exception if camel_pop3_engine_new() returns NULL
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 21:49:41 +00:00
Rodney Dawes 4110b183b7 Fix alignment of the icon to be 0x0
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 21:40:58 +00:00
JP Rosevear 4b5b098a0d sensitize the buttons (init_widgets): listen for selection changes so we
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 21:35:43 +00:00
Rodney Dawes 516c77a7a9 Add code to set the parent, position, and type hint of the "Add address"
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 21:27:44 +00:00
JP Rosevear 348fd04aee store all the custom alarms (alarm_custom_clicked_cb): emit changed signal
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 21:02:09 +00:00
Jeffrey Stedfast 4633426c1b If we fail to lock the folder, close the lockfd and reset it to -1. Fixes
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 17:44:13 +00:00
Rodney Dawes 38f4f2cd20 Add a call to e_source_selector_set_select_new here so that we can select
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 17:22:40 +00:00
Radek Doulik ac7ffd6aff do not limit the text len to 2047 characters
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 15:06:02 +00:00
Pablo Saratxaga 7e312352dd Added Wallon translation
svn path=/trunk/; revision=26494
2004-06-24 14:42:43 +00:00
Pablo Saratxaga d2a84d3263 Added Walloon file
svn path=/trunk/; revision=26492
2004-06-24 14:41:13 +00:00
Pablo Saratxaga e63c530434 updated Walloon file
svn path=/trunk/; revision=26491
2004-06-24 14:41:01 +00:00
Not Zed 8317d34210 ** See bug #57367.
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-24 08:14:51 +00:00
Jeffrey Stedfast ed34d79a98 First LIST/LSUB the toplevel folder, and then LIST/LSUB the subfolders (it
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-24 03:52:13 +00:00
Jeffrey Stedfast 758f7345f5 Same.
2004-06-23  Jeffrey Stedfast  <fejj@novell.com>

	* providers/imap/camel-imap-provider.c (imap_url_equal): Same.

	* providers/imap4/camel-imap4-provider.c (imap4_url_equal): Check
	the protocol.

svn path=/trunk/; revision=26488
2004-06-24 03:01:42 +00:00
Hans Petter Jansson 73e4659023 Set window to be invisible initially.
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 23:38:41 +00:00
Not Zed 70f85e57b5 use memcpy not strcpy to copy to memory buffer. Fixes a UMW. See #60532.
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 22:59:21 +00:00
Hans Petter Jansson 54a5d78f78 Add an x-source-vcard target entry that includes the source book URI.
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 22:40:24 +00:00
Rodney Dawes 00fc3d7f48 Update for removed files
2004-06-23  Rodney Dawes  <dobey@novell.com>

	* POTFILES.in: Update for removed files

svn path=/trunk/; revision=26484
2004-06-23 21:45:57 +00:00
Jeffrey Stedfast eb44d99148 Hide password, etc info in the fi->uri's. (imap4_create_folder): Don't
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 20:26:56 +00:00
Jeffrey Stedfast a139937375 Hide password, etc info in the fi->uri's.
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 20:07:07 +00:00
Jeffrey Stedfast 038b8b12ef Bump the version to 0.1.5 to help track down bug #59726.
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 17:54:00 +00:00
JP Rosevear a2dfc8a5c8 set the window type hint to normal so it can go below the shell window
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 17:38:39 +00:00
Rodrigo Moya e659218812 fixed gtk-doc comments and made it enable/disable the dialog's OK button
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 17:17:07 +00:00
Rodney Dawes c2bd7a6754 Revert previous change to add the callbacks for notification of calendar
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 16:10:58 +00:00
JP Rosevear 181829f142 Fixes #57862
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 15:38:29 +00:00
Rodney Dawes 5167085147 Move the search bar to the top and add a label _Search so that the entry
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 14:56:43 +00:00
Rodney Dawes 135fc892c3 Fixed ChangeLog... ran cvs commit in subdir last night which didn't grab ChangeLog
svn path=/trunk/; revision=26475
2004-06-23 14:16:06 +00:00
JP Rosevear a25c35158d tidy up to work again (ok_clicked_cb): use above when replying
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 12:37:14 +00:00
JP Rosevear 9cc3b55ef9 util function to do the actual removal (remove_attendee_at_row): ditto
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 12:30:58 +00:00
Not Zed 4b2eddbec7 ** See #54030.
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-23 08:08:40 +00:00
V Ravi Kumar Raju 84b8798d7b Remove the Menu Seperator in View Menu when in the contacts view.
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
2004-06-23 03:59:03 +00:00