Commit Graph

19182 Commits

Author SHA1 Message Date
f3aed51eeb new files for managing interactive authentication with backends.
2003-12-22  Rodrigo Moya <rodrigo@ximian.com>

	* common/authentication.[ch]: new files for managing interactive
	authentication with backends.

	* common/Makefile.am: build new private library.

	* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar):
	* gui/dialogs/event-page.c (source_changed_cb):
	* gui/dialogs/task-page.c (source_changed_cb):
	* gui/dialogs/copy-source-dialog.c (copy_source):
	* gui/calendar-component.c (setup_create_ecal):
	* gui/calendar-offline-handler.c (backend_go_offline,
	backend_go_online, calendar_offline_handler_init):
	* gui/comp-editor-factory.c (open_client):
	* gui/e-itip-control.c (start_calendar_server):
	* gui/e-tasks.c (e_tasks_add_todo_uri):
	* gui/gnome-cal.c (gnome_calendar_construct,
	gnome_calendar_add_event_uri):
	* gui/tasks-component.c (setup_create_ecal):
	* importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn,
	gnome_calendar_import_data_fn): create the ECal's via the
	auth_new_cal_from* functions in the authentication module.

	* gui/alarm-notify/Makefile.am:
	* gui/Makefile.am:
	* importers/Makefile.am: link new private library.

	* Makefile.am: added new directory to the build.

svn path=/trunk/; revision=23999
2003-12-22 15:57:30 +00:00
0dfb205f6a Implemented; sets an image attachment as the GNOME wallpaper.
2003-12-22  David Moore  <davmre@bellsouth.net>

  	* em-popup.c (emp_part_popup_set_background): Implemented; sets an
 	image attachment as the GNOME wallpaper.

  	* em-utils.c (emu_save_part_done): Created a prototype at the top
  	of the file.
  	(em_utils_save_part_to_file): Added; save a message part to a
  	specified file on disk.

svn path=/trunk/; revision=23998
2003-12-22 14:50:57 +00:00
207effbb70 Updated Korean translation.
* ko.po: Updated Korean translation.

svn path=/trunk/; revision=23996
2003-12-21 20:21:04 +00:00
093937a093 rewrite for new ecal api, cache all ecal's by type and minimize loading.
2003-12-21  JP Rosevear <jpr@ximian.com>

	* gui/e-itip-control.[hc]: rewrite for new ecal api, cache all
	ecal's by type and minimize loading.  Switch to using the source
	option menu

	* conduits/todo/todo-conduit.c (start_calendar_server): ditto

	* conduits/calendar/calendar-conduit.c (start_calendar_server):
	use ECalSourceType

	* importers/icalendar-importer.c (load_file_fn): ditto
	(vcal_load_file_fn): ditto
	(gnome_calendar_import_data_fn): ditto

	* gui/dialogs/task-page.c (source_changed_cb): ditto

	* gui/dialogs/event-page.c (source_changed_cb): ditto

	* gui/dialogs/copy-source-dialog.h: update proto

	* gui/dialogs/copy-source-dialog.c (copy_source_dialog): ditto

	* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): ditto

	* gui/tasks-component.c (copy_task_list_cb): ditto
	(setup_create_ecal): ditto

	* gui/gnome-cal.c (gnome_calendar_construct): ditto
	(gnome_calendar_add_event_uri): ditto

	* gui/e-tasks.c (e_tasks_add_todo_uri): ditto

	* gui/comp-editor-factory.c (open_client): ditto

	* gui/calendar-offline-handler.c (backend_go_offline): ditto
	(backend_go_online): ditto
	(calendar_offline_handler_init): ditto

	* gui/calendar-component.c (copy_calendar_cb): ditto
	(setup_create_ecal): ditto

	* gui/print.c (print_month_small): don't pass type to
	e_cal_generate_instances
	(print_day_details): ditto
	(print_week_summary): ditto

	* gui/tag-calendar.c (tag_calendar_by_client): ditto

svn path=/trunk/; revision=23994
2003-12-21 17:05:24 +00:00
ffc6f6edaa Updated italian translation
svn path=/trunk/; revision=23992
2003-12-20 15:17:31 +00:00
a8015ad6cd Impl. from calendar. (save_primary_selection): Implement, similar to
2003-12-19  Hans Petter Jansson  <hpj@ximian.com>

	* gui/component/addressbook-component.c (find_first_source): Impl.
	from calendar.
	(save_primary_selection): Implement, similar to calendar.
	(load_primary_selection): Implement, similar to calendar.
	(primary_source_selection_changed_callback): Save selection.
	(impl_createControls): Load selection.

svn path=/trunk/; revision=23991
2003-12-20 01:05:14 +00:00
db14454c1d make sure there is a ui container
2003-12-19  JP Rosevear <jpr@ximian.com>

	* gui/tasks-control.c (tasks_control_sensitize_commands): make
	sure there is a ui container

	* gui/calendar-commands.c (calendar_control_sensitize_calendar_commands): ditto

	* gui/tasks-component.c (impl_createControls): update after the
	signals are connected so that the ecal's are actually loaded

	* gui/calendar-component.c: ditto

svn path=/trunk/; revision=23990
2003-12-19 19:50:50 +00:00
fb8be1c3e2 Remove separators from dialogs. Use frame style recommended by the HIG.
2003-12-19  William Jon McCann  <mccann@jhu.edu>

        * gui/dialogs/task-page.c (source_changed_cb):
        * gui/dialogs/send-comp.c (send_component_dialog):
        * gui/dialogs/save-comp.c (save_component_dialog):
        * gui/dialogs/recur-comp.c (recur_component_dialog):
        * gui/dialogs/event-page.c (source_changed_cb):
        * gui/dialogs/delete-error.c (delete_error_dialog):
        * gui/dialogs/delete-comp.c (delete_component_dialog):
        * gui/dialogs/changed-comp.c (changed_component_dialog):
        * gui/dialogs/cancel-comp.c (cancel_component_dialog):
        * gui/dialogs/alarm-options.glade:
        * gui/dialogs/alarm-page.glade:
        * gui/dialogs/cal-prefs-dialog.glade:
        * gui/dialogs/e-delegate-dialog.glade:
        * gui/dialogs/event-page.glade:
        * gui/dialogs/new-calendar.glade:
        * gui/dialogs/new-task-list.glade:
        * gui/dialogs/recurrence-page.glade:
        * gui/dialogs/task-details-page.glade:
        * gui/dialogs/task-page.glade:
        * gui/tasks-control.c (confirm_purge):
        * gui/tasks-component.c (delete_task_list_cb)
        (rename_task_list_cb, setup_create_ecal):
        * gui/goto-dialog.glade:
        * gui/e-cal-model-tasks.c (show_geo_warning):
        * gui/comp-editor-factory.c (cal_opened_cb):
        * gui/calendar-component.c (delete_calendar_cb)
        (rename_calendar_cb, setup_create_ecal, delete_calendar_cb):
        * gui/calendar-commands.c (purge_cmd):
        Remove separators from dialogs.  Use frame style recommended
        by the HIG.

svn path=/trunk/; revision=23989
2003-12-19 17:49:02 +00:00
1ccb35bb45 Updated Spanish translation.
2003-12-19  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.

svn path=/trunk/; revision=23988
2003-12-19 16:14:52 +00:00
4cfce46d8d editable -> target_editable (e_contact_editor_get_property): Same.
2003-12-18  Hans Petter Jansson  <hpj@ximian.com>

	* gui/contact-editor/e-contact-editor.c (widget_changed):
	editable -> target_editable
	(e_contact_editor_get_property): Same.
	(_email_arrow_pressed): Same.
	(enable_writable_fields): Same.
	(set_editable): Same.
	(contact_added_cb): Make sure source book is editable before trying
	to remove contact from there.
	(e_contact_editor_init): Set up source/target editability.
	(command_state_changed): Allow save only if target editable. Allow
	delete only if source editable.
	(e_contact_editor_set_property): Set editability flags for
	source/target.

	* gui/contact-editor/e-contact-editor.h: Add source_editable,
	target_editable flags in place of old editable flag.

svn path=/trunk/; revision=23986
2003-12-18 22:20:17 +00:00
d83b744994 Updated italian translation
svn path=/trunk/; revision=23985
2003-12-18 21:44:47 +00:00
b95cb48751 Merge in evolution-mail-message-display.xml first, since it is the parent
2003-12-18  Rodney Dawes  <dobey@ximian.com>

	* em-message-browser.c (emmb_init): Merge in
	evolution-mail-message-display.xml first, since it is the parent UI
	XML, really fixes bug #49949

svn path=/trunk/; revision=23984
2003-12-18 19:13:32 +00:00
94f858a5d0 Updated italian translation
svn path=/trunk/; revision=23983
2003-12-18 18:05:18 +00:00
be53f12e69 make sure we connect to the "changed" signals after setting the initial
2003-12-18  Rodrigo Moya <rodrigo@ximian.com>

	* gui/tasks-component.c (impl_createControls):
	* gui/calendar-component.c (impl_createControls): make sure we
	connect to the "changed" signals after setting the initial selections
	on the ESourceSelector. Fixes some nasty warnings because of
	calendar_control_sensitize_calendar_commands being called with
	no container yet for the control.

svn path=/trunk/; revision=23981
2003-12-18 16:37:52 +00:00
ae5a6615bf Revert previous patch to fix bug #49949 - exposes crash in libbonoboui
2003-12-18  Rodney Dawes  <dobey@ximian.com>

	* evolution-mail-message.xml:
	* evolution-mail-messagedisplay.xml: Revert previous patch to
	fix bug #49949 - exposes crash in libbonoboui when switching
	away from mail component

svn path=/trunk/; revision=23980
2003-12-18 16:08:39 +00:00
a4f32723bb make sure we connect to the "changed" signals after setting the initial
2003-12-18  Rodrigo Moya <rodrigo@ximian.com>

	* gui/calendar-component.c (impl_createControls): make sure we
	connect to the "changed" signals after setting the initial selections
	on the ESourceSelector. Fixes some nasty warnings because of
	calendar_control_sensitize_calendar_commands being called with
	no container yet for the control.

svn path=/trunk/; revision=23979
2003-12-18 11:06:25 +00:00
1c64a013bd On [Action] menu, change [Forward] to [Forward As...], [Forward Message]
2003-12-18  Calvin Liu <calvin.liu@sun.com>

        * evolution-mail-message.xml: On [Action] menu, change [Forward]
        to [Forward As...], [Forward Message] to [Forward].

svn path=/trunk/; revision=23977
2003-12-18 07:31:35 +00:00
82c9480f44 On [Action] menu, change [Forward] to [Forward As...], [Forward Message]
2003-12-18  Calvin Liu <calvin.liu@sun.com>

        * evolution-mail-message.xml: On [Action] menu, change [Forward]
        to [Forward As...], [Forward Message] to [Forward].

svn path=/trunk/; revision=23976
2003-12-18 07:25:05 +00:00
4e71399fd5 call gdk_window_focus() so that keyboard works correctly.
2003-12-18  Harry Lu  <harry.lu@sun.com>

        * e-cell-date-edit.c: (e_cell_date_edit_do_popup): call
        gdk_window_focus() so that keyboard works correctly.

svn path=/trunk/; revision=23975
2003-12-18 03:59:42 +00:00
e4a68478f7 Add the concept of a source client, where the object lives currently. The
2003-12-17  Hans Petter Jansson  <hpj@ximian.com>

	* gui/dialogs/comp-editor.c: Add the concept of a source client, where
	the object lives currently. The plain client is where it will be
	stored.
	(comp_editor_finalize): If we have a source client, disconnect from
	and unref it.
	(save_comp): Check if the object is being moved, and if so, remove it
	from the source client, and make the target client the new source.
	(comp_editor_append_page): Connect to client_changed signal.
	(real_set_e_cal): Change an old gtk_signal_disconnect_by_data() to
	the GLib equivalent, and don't cast ECal to GtkObject. If the source
	client is not set, make it equivalent to the target client.
	(page_client_changed_cb): Implement. Handles a client change.

	* gui/dialogs/comp-editor-page.c (comp_editor_page_class_init): Add
	a new signal, "client_changed", that notifies that the ECal client
	was changed from one of the editor pages.
	(comp_editor_page_set_e_cal): Fix two bugs in this function; if the
	same client is set twice, its ref count could drop to 0. Additionally,
	it was unreffing the new client instead of the old one.
	(comp_editor_page_notify_client_changed): Implement.

	* gui/dialogs/event-page.c (event_page_fill_widgets): Fill in the
	source menu.
	(get_widgets): Get the source menu.
	(source_changed_cb): Implement. Try to open a client for the new
	source, and if successful, notify of the change. Show a dialog on
	failure, and revert to last selected source.
	(init_widgets): Connect to source menu.
	(event_page_create_source_option_menu): Implement Glade helper.

	* gui/dialogs/task-page.c (task_page_fill_widgets): Fill in the source
	menu.
	(get_widgets): Get the source menu.
	(source_changed_cb): Implement, similar to the event page, but for
	tasks.
	(init_widgets): Connect to source menu.
	(task_page_construct): Fix a message booboo.
	(task_page_create_source_option_menu): Implement Glade helper.

	* gui/dialogs/event-page.glade: Add source menu widget.

	* gui/dialogs/task-page.glade: Add source menu widget.

svn path=/trunk/; revision=23974
2003-12-18 02:41:53 +00:00
919563751e Fix bug #49949
2003-12-17  Rodney Dawes  <dobey@ximian.com>

	* evolution-mail-message.xml:
	* evolution-mail-messagedisplay.xml: Fix bug #49949

svn path=/trunk/; revision=23973
2003-12-17 22:57:48 +00:00
ab9bcaa211 add ContactsViewPreview command, a "Preview Pane" menu item, and a
2003-12-17  Chris Toshok  <toshok@ximian.com>

	* evolution-addressbook.xml: add ContactsViewPreview command, a
	"Preview Pane" menu item, and a keybinding for it - same placement
	as the mailer's item.

svn path=/trunk/; revision=23972
2003-12-17 20:31:39 +00:00
cce087033f install the "source" property. (eab_view_init): init eav->source to NULL.
2003-12-17  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-addressbook-view.c (eab_view_class_init): install
	the "source" property.
	(eab_view_init): init eav->source to NULL.
	(eab_view_dispose): disconnect the ecml_changed_id and unref
	source.
	(eab_view_new): create the search bar here.
	(view_preview): c&p the mailer's code mostly for this - this is
	the toggle listener for the Preview Pane menuitem.
	(setup_menus): add a listener for the ContactsViewPreview toggle.
	(eab_view_set_property): sensitize the search bar based on whether
	or not we have a book set.  This makes it so you can't search
	until the book is loaded.  Also add handling for the "source"
	attribute and print a warning when it's set multiple times
	(something that's not supported at the moment.)
	(eab_view_get_property): add "source" case.
	(search_activated, query_changed, compare_subitems, make_subitems,
	ecml_changed, get_master_list, connect_master_list_changed): move
	this here from addressbook.c
	(eab_view_show_contact_preview): implement - just show or hide the
	scrolled window.
	(eab_view_setup_menus): call e_search_bar_set_ui_component here,
	kind of a hack.

	* gui/widgets/e-addressbook-view.h: make this inherit from GtkVBox
	instead of GtkEventBox since we'll be packing children.  Add a
	prototype for eab_view_show_contact_preview.

	* gui/component/addressbook.c (get_current_view): return the
	EABView associated with the active notebook page.
	(save_contact_cb): use the current view.
	(view_contact_cb): same.
	(search_cb): same.
	(delete_contact_cb): same.
	(print_cb): same.
	(print_preview_cb): same.
	(stop_loading_cb): same.
	(cut_contacts_cb): same.
	(copy_contacts_cb): same.
	(paste_contacts_cb): same.
	(select_all_contacts_cb): same.
	(send_contact_cb): same.
	(send_contact_to_cb): same.
	(copy_contact_to_cb): same.
	(move_contact_to_cb): same.
	(update_command_state): same.
	(change_view_type): nuke, nothing uses this.
	(control_activate): use the current view.
	(control_activate_cb): same.
	(source_list_changed_cb): new function, remove the notebook pages
	(and destroy the EABView's) for sources that no longer exist.
	(addressbook_view_clear): dispose of the uid_to_view hash.
	(book_open_cb): store the ESource on the EABView too.  this
	function now takes a struct containing both EABView and ESource
	since we can't store either in the AddressbookView.
	(set_prop): if we have a view already for this uid, bring it up.
	otherwise create a new one and start the book loading.
	(addressbook_search_activated): nuked - this is being moved to
	e-addressbook-view.
	(addressbook_query_changed): same.
	(compare_subitems, make_subitems, ecml_changed,
	connect_master_list_changed): same.
	(addressbook_new_control): simplify things a bunch.  create a
	notebook to store the views in.  the search/vbox stuff is gone.
	use e_source_list_new_for_gconf_default, and handle the source
	list's "changed" signal.

svn path=/trunk/; revision=23971
2003-12-17 20:30:44 +00:00
e6d897628e Embed Tree in GtkScrolledWindow
2003-12-17  Rodney Dawes  <dobey@ximian.com>

	* gui/component/autocompletion-config.c:
	(autocompletion_config_control_new): Embed Tree in GtkScrolledWindow

svn path=/trunk/; revision=23970
2003-12-17 18:36:03 +00:00
9a624c83b1 use g_file_test to check if the 'pixmap' argument is a file. If so, get
2003-12-17  Rodrigo Moya <rodrigo@ximian.com>

	* gui/tasks-component.c (add_popup_menu_item):
	* gui/calendar-component.c (add_popup_menu_item): use g_file_test
	to check if the 'pixmap' argument is a file. If so, get the pixmap
	from it, or gtk_image_new_from_stock will return an empty pixmap.

svn path=/trunk/; revision=23969
2003-12-17 17:44:46 +00:00
6d68ea432a set a correct status message.
2003-12-17  Rodrigo Moya <rodrigo@ximian.com>

	* gui/gnome-cal.c (client_cal_opened_cb): set a correct status
	message.

	* gui/tasks-component.c (fill_popup_menu_cb):
	* gui/calendar-component.c (fill_popup_menu_cb): use the folder*.png
	icons for folder operations.

	* gui/Makefile.am: removed cal-client directory from $INCLUDES.

svn path=/trunk/; revision=23968
2003-12-17 17:21:00 +00:00
54f708974f Fixes #51665.
2003-12-17  Harry Lu  <harry.lu@sun.com>

 	Fixes #51665.

 	* gui/e-week-view.c: (e_week_view_focus): call
 	e_week_view_check_layout() so that the spans won't be NULL.

svn path=/trunk/; revision=23967
2003-12-17 16:30:16 +00:00
53a38f99ab Missing changelog entry
svn path=/trunk/; revision=23966
2003-12-17 14:15:31 +00:00
78c72f3ed1 removed the 'NewCalendar' verb. (file_new_calendar_cb): removed callback
2003-12-17  Rodrigo Moya <rodrigo@ximian.com>

	* gui/calendar-commands.c: removed the 'NewCalendar' verb.
	(file_new_calendar_cb): removed callback for 'NewCalendar' verb.
	(impl__get_userCreatableItems): added 'New Calendar' to the list
	of user creatable items.
	(impl_requestCreateItem): implemented 'New Calendar'.

	* gui/tasks-component.c (impl__get_userCreatableItems): added
	'New Task List' to the list of user creatable items.
	(impl_requestCreateItem): implemented 'New Task List'.

svn path=/trunk/; revision=23965
2003-12-17 14:13:58 +00:00
5b83b0929b removed the 'NewCalendar' verb.
2003-12-17  Rodrigo Moya <rodrigo@ximian.com>

	* evolution-calendar.xml: removed the 'NewCalendar' verb.

svn path=/trunk/; revision=23964
2003-12-17 13:57:28 +00:00
8116a43344 made it public.
2003-12-17  Rodrigo Moya <rodrigo@ximian.com>

	* gui/tasks-control.[ch] (tasks_control_sensitize_commands): made
	it public.

	* gui/tasks-component.c (update_uri_for_primary_selection): call
	tasks_control_sensitize_commands() when the primary selection
	changes.

svn path=/trunk/; revision=23963
2003-12-17 13:51:32 +00:00
31641a0c2b call calendar_control_sensitize_calendar_commands when the primary
2003-12-17  Rodrigo Moya <rodrigo@ximian.com>

	* gui/calendar-component.c (update_uri_for_primary_selection): call
	calendar_control_sensitize_calendar_commands when the primary selection
	changes.
	(impl_createControls): keep the view_control in the private structure and
	use control_factory_new_control() to create the control.
	(control_activate_cb): removed unneeded function.

	* gui/tasks-component.c (impl_createControls): use tasks_control_new to
	create the tasks view control.
	(control_activate_cb): removed unneeded function.

svn path=/trunk/; revision=23962
2003-12-17 13:36:07 +00:00
2e449b7753 check the return value from e_cal_new_from_uri.
2003-12-17  Rodrigo Moya <rodrigo@ximian.com>

	* gui/gnome-cal.c (gnome_calendar_add_event_uri): check the return
	value from e_cal_new_from_uri.

svn path=/trunk/; revision=23961
2003-12-17 13:03:33 +00:00
350bdccc96 make sure we free the data stored in the hash table.
2003-12-17  Rodrigo Moya <rodrigo@ximian.com>

	* gui/alarm-notify/alarm-notify.c (alarm_notify_remove_calendar):
	make sure we free the data stored in the hash table.
	(alarm_notify_add_calendar): call alarm_queue_add_client, or we wont
	have alarms at all.

	* gui/alarm-notify/alarm-queue.c: no need to hold a ref count.
	(alarm_queue_add_client, alarm_queue_remove_client): don't use the
	refcount private member.
	(alarm_queue_add_client): don't connect to non-existing ECal signals.
	(display_notification, free_client_alarms_cb): fixed warnings.

svn path=/trunk/; revision=23960
2003-12-17 11:59:47 +00:00
ef5c489865 Update the contact's UID after normal add.
2003-12-16  Hans Petter Jansson  <hpj@ximian.com>

	* gui/contact-editor/e-contact-editor.c (contact_added_cb): Update
	the contact's UID after normal add.

svn path=/trunk/; revision=23959
2003-12-17 04:49:40 +00:00
216085f3c1 Make a public function that shows an error dialog, which can be used when
2003-12-16  Hans Petter Jansson  <hpj@ximian.com>

	* gui/component/addressbook.c (addressbook_show_load_error_dialog):
	Make a public function that shows an error dialog, which can be used
	when a source fails to load.
	(book_open_cb): Call addressbook_show_load_error_dialog () on error.
	(set_prop): Don't reuse the book when loading a new source. This was
	confusing the contact-editor, which gets the book passed in.

	* gui/contact-editor/e-contact-editor.c (e_contact_editor_class_init):
	Make "source_book" and "target_book" distinct properties.
	(new_target_cb): Implement.
	(source_selected): Implement.
	(contact_moved_cb): Implement.
	(contact_added_cb): Handle the case where source_book != target_book as
	a move - if the add was successful, remove contact from source book.
	(save_contact): Handle case where source_book != target_book.
	(delete_cb): "book" renamed to "source_book".
	(e_contact_editor_init): Set up source_selected signal.
	(e_contact_editor_dispose): Dispose of both source and target books.
	(e_contact_editor_new): "book" renamed to "source_book".
	(e_contact_editor_set_property): If a source book is set, and we don't
	have a target book, make target_book == source_book. Allow setting
	target book, and base editability on that. If we're editing an existing
	contact, treat book change as a change, and update command state.
	(e_contact_editor_get_property): Allow getting target book.
	(set_source_field): Indicate the selected book.

svn path=/trunk/; revision=23958
2003-12-17 04:23:36 +00:00
0a13fd3702 Fixed bug 51917, add atk support for ClickToAdd
2003-12-16  Yuedong Du  <yuedong.du@sun.com>

        Fixed bug 51917, add atk support for ClickToAdd

        * gal/a11y/e-table/Makefile.am: add files.
        * gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.c:
        (gal_a11y_e_table_click_to_add_factory_get_accessible_type),
        (gal_a11y_e_table_click_to_add_factory_create_accessible),
        (gal_a11y_e_table_click_to_add_factory_class_init),
        (gal_a11y_e_table_click_to_add_factory_init),
        (gal_a11y_e_table_click_to_add_factory_get_type): factory
        for ClickToAdd
        * gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.h:
        ditto
        * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c:
        (etcta_get_n_actions), (etcta_get_description),
        (etcta_action_get_name), (idle_do_action), (etcta_do_action),
        (atk_action_interface_init): a "click" action interface.
        (etcta_get_name),
        (etcta_get_n_children), (etcta_ref_child): create accessible
        according to which child is available. Either rect or row.
        (etcta_class_init),
        (etcta_init), (gal_a11y_e_table_click_to_add_get_type),
        (etcta_event): listen to canvas event, emit children-changed signal
        when it found rect/row was changed.
        (gal_a11y_e_table_click_to_add_new):
        * gal/a11y/e-table/gal-a11y-e-table-click-to-add.h:
        * gal/a11y/e-table/gal-a11y-e-table-item-factory.c:
        (gal_a11y_e_table_item_factory_create_accessible):
        * gal/a11y/e-table/gal-a11y-e-table.c: (init_child_item),
        (et_get_n_children), (et_ref_child): change the trick way to
        create a11y object for a table item. Because ClickToAdd is also
        a table item, previous way do not work for clicktoadd.
        * gal/e-table/e-table-click-to-add.c: (etcta_class_init):
        atk_register the new a11y factory.

svn path=/trunk/; revision=23956
2003-12-17 02:35:20 +00:00
e12d64b4eb Implement. Makes the source menu reflect the source for the current book.
2003-12-16  Hans Petter Jansson  <hpj@ximian.com>

	* gui/contact-editor/e-contact-editor.c (set_source_field): Implement.
	Makes the source menu reflect the source for the current book.

svn path=/trunk/; revision=23955
2003-12-17 00:52:18 +00:00
a3b04be4f0 Use e_source_equal() instead of comparing pointers. This allows user to
2003-12-16  Hans Petter Jansson  <hpj@ximian.com>

	* misc/e-source-option-menu.c (select_source_foreach_menu_item):
	Use e_source_equal() instead of comparing pointers. This allows user
	to pass in a source that was obtained from somewhere else. Set the
	matching internal source as "selected" instead of the one passed in.
	(select_source): Emit signal only if we found a match. Don't ref/unref
	anything, since the selected source will always be from our internal
	list.

svn path=/trunk/; revision=23954
2003-12-17 00:50:03 +00:00
c13a0defa3 Implement. Creates source selection option menu.
2003-12-16  Hans Petter Jansson  <hpj@ximian.com>

	* gui/contact-editor/e-contact-editor.c
	(e_contact_editor_create_source_option_menu): Implement. Creates
	source selection option menu.

	* gui/contact-editor/contact-editor.glade: Add source selection custom
	widget.

svn path=/trunk/; revision=23953
2003-12-16 23:29:21 +00:00
db7a74c0b7 Fixes part of #41237
2003-12-16  Rodrigo Moya <rodrigo@ximian.com>

	Fixes part of #41237

	* gui/e-calendar-table.c: use GtkClipboard instead of GtkInvisible
	for cut/copy/paste.
	(selection_clear_event, selection_received, selection_get): removed
	unneeded functions.
	(e_calendar_table_init): don't create the invisible widget.
	(e_calendar_table_copy_clipboard): use gtk_clipboard_set_text().
	(e_calendar_table_paste_clipboard): use gtk_clipboard_request_text().
	(clipboard_get_text_cb): callback for gtk_clipboard_request_text().

	* gui/e-cal-view.c (e_calendar_view_init, e_calendar_view_destroy,
	e_calendar_view_copy_clipboard): no need anymore to keep the last
	clipboard selection, GtkClipboard does it for us.

svn path=/trunk/; revision=23952
2003-12-16 23:29:07 +00:00
794d833e8d Disable cell editing.
2003-12-16  Hans Petter Jansson  <hpj@ximian.com>

	* gui/widgets/e-addressbook-table-adapter.c
	(addressbook_is_cell_editable): Disable cell editing.

svn path=/trunk/; revision=23951
2003-12-16 22:54:35 +00:00
0c0096e261 #ifdef out certain code pieces if s/mime isn't supported
2003-12-16  JP Rosevear  <jpr@ximian.com>

	* em-format-html-display.c: #ifdef out certain code pieces if
	s/mime isn't supported

svn path=/trunk/; revision=23950
2003-12-16 20:06:41 +00:00
11b4c8654d return a reference to the alarm_notify_service, not NULL and ref the
2003-12-16  Rodrigo Moya <rodrigo@ximian.com>

	* gui/alarm-notify/notify-main.c (alarm_notify_factory_fn): return
	a reference to the alarm_notify_service, not NULL and ref the object
	before returning it.

svn path=/trunk/; revision=23949
2003-12-16 19:07:06 +00:00
539122e98b return a reference to the alarm_notify_service, not NULL.
2003-12-16  Rodrigo Moya <rodrigo@ximian.com>

	* gui/alarm-notify/notify-main.c (alarm_notify_factory_fn): return
	a reference to the alarm_notify_service, not NULL.

svn path=/trunk/; revision=23948
2003-12-16 18:56:50 +00:00
43a4d2fdf4 Implement. (text_to_address): Implement, using EAddressWestern.
2003-12-15  Hans Petter Jansson  <hpj@ximian.com>

	* gui/contact-editor/e-contact-editor.c (address_to_text): Implement.
	(text_to_address): Implement, using EAddressWestern.
	(address_text_changed): Adapt to EContactAddress.
	(full_addr_clicked): Ditto. Fix field IDs.
	(e_contact_editor_init): Init address_choice.
	(_email_arrow_pressed): Fix field IDs.
	(_address_arrow_pressed): Adapt to EContactAddress and fix field IDs.
	(find_address_mailing): Leave out for now. Addresses don't have flags
	anymore...
	(set_fields): Adapt to EContactAddress and fix field IDs. Make sure
	changes to other widgets don't make us go back to the first listed
	address.
	(set_address_field): Adapt to EContactAddress and fix field IDs.
	(enable_writable_fields): Ditto.
	(fill_in_info): Disable find_address_mailing () for now.

svn path=/trunk/; revision=23947
2003-12-16 04:39:28 +00:00
410f4530e4 Small update of italian translation.
svn path=/trunk/; revision=23946
2003-12-15 22:08:21 +00:00
b894813e87 remove.
2003-12-15  Chris Toshok  <toshok@ximian.com>

	* Makefile.am (ACLOCAL_AMFLAGS): remove.

svn path=/trunk/; revision=23945
2003-12-15 20:14:11 +00:00
b94383e883 set the list view config properly (so we don't blow away the month view
2003-12-15  JP Rosevear <jpr@ximian.com>

	* gui/gnome-cal.c (setup_widgets): set the list view config
	properly (so we don't blow away the month view config

svn path=/trunk/; revision=23944
2003-12-15 19:47:56 +00:00
1b74b936a5 set the calendar for the day view
2003-12-15  JP Rosevear <jpr@ximian.com>

	* gui/gnome-cal.c (setup_widgets): set the calendar for the day
	view

svn path=/trunk/; revision=23943
2003-12-15 19:45:13 +00:00