Commit Graph

19059 Commits

Author SHA1 Message Date
4b5f82028e no more custom widget for the selection of the search source
2003-12-05  JP Rosevear <jpr@ximian.com>

	* gui/component/select-names/select-names.glade: no more custom
	widget for the selection of the search source

	* gui/component/select-names/e-select-names.h: add member

	* gui/component/select-names/e-select-names.etspec: update model
	column

	* gui/component/select-names/e-select-names.c (find_first_source):
	find the first source in the list
	(addressbook_model_set_source): we have the source to set directly
	now
	(source_selected): listen for the source item to change
	(e_select_names_init): create a source option menu and hook it up
	(e_select_names_dispose): destroy the source list
	(e_select_names_new): do away with the config setup here

	* gui/component/select-names/e-select-names-manager.h: update
	members

	* gui/component/select-names/e-select-names-manager.c
	(update_completion_books): add books based on source uid
	(config_completion_books_changed_cb): handle the completion list
	changing
	(config_min_query_length_changed_cb): handle minimum query length
	changing
	(e_select_names_manager_new): we don't do the settings stuff here
	any more
	(e_select_names_manager_init): do the initial set up here for the
	book loaded and listen for changes
	(e_select_names_manager_dispose): destroy the new stuff

	* gui/component/select-names/e-select-names-config.[hc]: config
	information

	* gui/component/select-names/e-select-names-config-keys.h: the
	config keys

	* gui/component/select-names/e-select-names-bonobo.c
	(impl_SelectNames_activate_dialog): do away with the shell client
	stuff

	* gui/component/select-names/Makefile.am: build new files

svn path=/trunk/; revision=23654
2003-12-05 21:46:18 +00:00
b57968e121 call remove_book_view/free_data here as well, to guard against multiple
2003-12-05  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-addressbook-model.c (book_view_loaded): call
	remove_book_view/free_data here as well, to guard against multiple
	book_view's being loaded.

svn path=/trunk/; revision=23652
2003-12-05 18:30:58 +00:00
4df8998b86 Properly set the O_NONBLOCK flag along with any previously set flags.
2003-12-05  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-gpg-context.c (gpg_ctx_op_start): Properly set the
	O_NONBLOCK flag along with any previously set flags.

	* camel-filter-search.c (run_command): Don't set O_NONBLOCK on the
	pipe (1. we don't need to, and 2. we should have been setting
	O_NONBLOCK|prev_flags but we weren't, and so the pipe got
	O_RDONLY|O_NONBLOCK even tho we wanted to write to it).

	* camel-filter-driver.c (pipe_to_system): Same.

svn path=/trunk/; revision=23651
2003-12-05 18:15:17 +00:00
28d6afea59 *** empty log message ***
svn path=/trunk/; revision=23650
2003-12-05 16:04:17 +00:00
27ad202daa use new gtk_html_flush method instead of forcing processing of all gtk
2003-12-05  Radek Doulik  <rodo@ximian.com>

	* em-html-stream.c (emhs_sync_flush): use new gtk_html_flush
	method instead of forcing processing of all gtk events

svn path=/trunk/; revision=23649
2003-12-05 15:31:33 +00:00
7a838b13a3 require gtkhtml 3.1.3 (new gtk_html_flush method to be used in mailer)
2003-12-05  Radek Doulik  <rodo@ximian.com>

	* configure.in: require gtkhtml 3.1.3 (new gtk_html_flush method
	to be used in mailer)

svn path=/trunk/; revision=23648
2003-12-05 15:29:00 +00:00
f734d4ad45 commit the patch of Sun Yong
2003-12-05  Antonio Xu <antonio.xu@Sun.com>

	commit the patch of Sun Yong

	Fix for #51337

	* gui/dialogs/alarm-page.c
	Change raw string "Action/Trigger" to _("Action/Trigger")
	* gui/dialogs/recurrence-page.c
	Change raw string "Date/Time" to _("Date/Time")

svn path=/trunk/; revision=23646
2003-12-05 09:38:44 +00:00
ef77e0cde7 Match new column values, change default columns shown.
2003-12-05  Hans Petter Jansson  <hpj@ximian.com>

	* addressbook/By_Company.galview: Match new column values, change
	default columns shown.

	* addressbook/Phone_List.galview: Ditto.

svn path=/trunk/; revision=23645
2003-12-05 09:25:06 +00:00
5f6b9d6fc5 Clean up and sync with current model columns.
2003-12-05  Hans Petter Jansson  <hpj@ximian.com>

	* gui/widgets/e-addressbook-view.etspec: Clean up and sync with
	current model columns.

svn path=/trunk/; revision=23644
2003-12-05 09:22:53 +00:00
212cc70aec set the window title based on e_cert_get_window_title.
2003-12-04  Chris Toshok  <toshok@ximian.com>

	* gui/certificate-viewer.c (certificate_viewer_show): set the
	window title based on e_cert_get_window_title.

	* lib/e-cert.c (e_cert_get_window_title): new function, for use
	with the certificate viewer.
	(create_asn1_struct): call e_cert_get_window_title.

svn path=/trunk/; revision=23643
2003-12-05 02:10:09 +00:00
c65fbd94c0 Fix for bugzilla bug #51624 and #51627.
2003-12-04  Harry Lu <harry.lu@sun.com>

        Fix for bugzilla bug #51624 and #51627.

        * e-calendar-item.c: (e_calendar_item_selection_add_days):
        set the date to the first day of the month so that user can use
        keyboard's arrow key to select a date.
        (e_calendar_item_set_selection_if_emission): only set selection_changed
        if emission is TRUE.
        * e-calendar.c: (e_calendar_init): add back the "clicked" handler so
        that user can use keyboard to click the button.
         (e_calendar_start_auto_move): no need to move since it is already
        handled by the clicked handler
        (e_calendar_on_prev_clicked), (e_calendar_on_next_clicked): move the
        month here.
        * e-dateedit.c: (e_date_edit_show_date_popup): use gdk_window_focus
        instead of gdk_keyboard_grab so that the focus won't lost if user click
        the button with keyboard.
        (hide_date_popup): no need to call gdk_keyboard_ungrab.

svn path=/trunk/; revision=23642
2003-12-05 02:01:46 +00:00
22f021924c Fix for bugzilla bug #51627.
2003-12-04  Harry Lu  <harry.lu@sun.com>

        Fix for bugzilla bug #51627.

        * gui/goto.c: (create_ecal): set calitem's move_selection_when_moving
        to FALSE so that changing month and year won't send out
        a "selection_changed" signal.

svn path=/trunk/; revision=23641
2003-12-05 01:59:43 +00:00
999ef98d76 add prototype for e_cert_get_asn1_struct.
2003-12-04  Chris Toshok  <toshok@ximian.com>

	* lib/e-cert.h: add prototype for e_cert_get_asn1_struct.

	* lib/e-cert.c (e_cert_dispose): unref the asn1 object.
	(get_int_value): copy and massage from mozilla source.
	(process_version): same.
	(process_serial_number_der): same.
	(get_default_oid_format): same.
	(get_oid_text): same.
	(process_raw_bytes): same.
	(process_sec_algorithm_id): same.
	(process_subject_public_key_info): same.
	(process_ns_cert_type_extensions): same.
	(process_key_usage_extensions): same.
	(process_extension_data): same.
	(process_single_extension): same.
	(process_extensions): same.
	(process_name): same.
	(create_tbs_certificate_asn1_struct): same.
	(create_asn1_struct): same.
	(e_cert_get_asn1_struct): new function.

	* lib/e-asn1-object.c (e_asn1_object_dispose): free the display
	name, value, and children.
	(e_asn1_object_init): assume it's a valid container unless we hear
	otherwise.
	(e_asn1_object_new_from_cert): nuke.
	(e_asn1_object_set_valid_container): implement.
	(e_asn1_object_append_child): same.
	(e_asn1_object_set_display_name): same.
	(e_asn1_object_set_display_value): same.

	* lib/e-asn1-object.h: add prototypes for
	e_asn1_object_set_valid_container, e_asn1_object_set_display_name,
	e_asn1_object_set_display_value, and e_asn1_object_append_child.

	* gui/certificate-viewer.c (populate_fields_tree): populate the
	tree from the asn structure.
	(hierarchy_selection_changed): blow away the old fields_tree
	content and populate it again.
	(fields_selection_changed): implement, set the text view's
	contents to the asn1 object's display_value.
	(fill_in_details): expand all nodes in the hierarchy tree.

svn path=/trunk/; revision=23640
2003-12-05 01:56:08 +00:00
56ac1ec642 Implement.
* e-shell.c (e_shell_prepare_for_quit): Implement.

* Evolution-Component.idl (Component::requestQuit): Make sync
[i.e. just return a boolean instead of using a BonoboListener].

svn path=/trunk/; revision=23639
2003-12-04 23:12:28 +00:00
7278ac2b56 Make sure folder_path is non-NULL ("Loading..." nodes will have a NULL
2003-12-04  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-tree-model.c (em_folder_tree_model_remove_folders):
	Make sure folder_path is non-NULL ("Loading..." nodes will have a
	NULL path). Fixes bug #51731.

svn path=/trunk/; revision=23638
2003-12-04 22:40:41 +00:00
2e7b295450 Fix typo from bug 51686
svn path=/trunk/; revision=23637
2003-12-04 22:03:22 +00:00
71fbb45aa0 Fixes bug #51618
2003-12-04  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes bug #51618

	* mail-ops.c (empty_trash_empty): Get the proper local folders
	store uri (it's not file:/ anymore).

svn path=/trunk/; revision=23636
2003-12-04 20:31:48 +00:00
ba0792d8ff Fixes bug #51605.
2003-12-04  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes bug #51605.

	* em-folder-selector.c (emfs_response): Handle creating a new
	folder (pop up a create-folder-selector dialog).

	* em-folder-tree.c (emft_popup_new_folder_response): Moved all the
	logic into em_folder_tree_create_folder().
	(em_folder_tree_create_folder): New function to create a folder.

svn path=/trunk/; revision=23635
2003-12-04 20:04:43 +00:00
c923f10cb9 Unifdef out the post-to code and fix it to use the new folder selection
2003-12-04  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-hdrs.c (create_headers): Unifdef out the post-to
	code and fix it to use the new folder selection button.
	(e_msg_composer_hdrs_set_post_to): Same.
	(e_msg_composer_hdrs_get_post_to): Same.

svn path=/trunk/; revision=23634
2003-12-04 17:24:23 +00:00
2f821fbce5 set junk toolbar buttons pixmaps
2003-12-04  Radek Doulik  <rodo@ximian.com>

	* em-folder-view.c: set junk toolbar buttons pixmaps

svn path=/trunk/; revision=23633
2003-12-04 17:10:51 +00:00
b1ab947ff6 added junk toolbar buttons
2003-12-04  Radek Doulik  <rodo@ximian.com>

	* evolution-mail-message.xml: added junk toolbar buttons

svn path=/trunk/; revision=23632
2003-12-04 17:09:51 +00:00
67ec393dee added stock junk button and notjunk placeholder (until artists have the
2003-12-04  Radek Doulik  <rodo@ximian.com>

	* Makefile.am (buttons_DATA): added stock junk button and notjunk
	placeholder (until artists have the right one)

svn path=/trunk/; revision=23631
2003-12-04 17:08:30 +00:00
429ac6ac1d monitor gconf key /apps/evolution/mail/junk/check_incoming and keep
2003-12-04  Radek Doulik  <rodo@ximian.com>

	* mail-session.c: monitor gconf key
	/apps/evolution/mail/junk/check_incoming and keep session junk
	flag uptodate

	* em-mailer-prefs.c (em_mailer_prefs_construct): added junk
	preferences

svn path=/trunk/; revision=23630
2003-12-04 14:14:36 +00:00
23017711eb check recent messages for junk mail
2003-12-04  Radek Doulik  <rodo@ximian.com>

	* camel-folder.c (folder_changed): check recent messages for junk
	mail

	* camel-session.c (camel_session_check_junk): new wrapper method
	for check_junk flag
	(camel_session_set_check_junk): ditto

	* camel-session.h (struct _CamelSession): added check_junk flag
	(if to check incoming mail for junk messages)

svn path=/trunk/; revision=23629
2003-12-04 14:11:20 +00:00
4c1234f546 added FILTER_SOURCE_JUNKTEST - perform only junktest on incoming mail
2003-12-04  Radek Doulik  <rodo@ximian.com>

	* filter-rule.h: added FILTER_SOURCE_JUNKTEST - perform only
	junktest on incoming mail

svn path=/trunk/; revision=23628
2003-12-04 14:10:52 +00:00
5392308f77 *** empty log message ***
svn path=/trunk/; revision=23626
2003-12-04 12:27:47 +00:00
5d8728d7d7 Free fi->path if we are gonna replace it with the vinfo path.
2003-12-03  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-store.c (add_special_info): Free fi->path if we are gonna
	replace it with the vinfo path.

svn path=/trunk/; revision=23625
2003-12-04 02:11:02 +00:00
0755131616 Updated to add use mail subdirs. (mail_config_uri_renamed): Updated
2003-12-03  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (uri_to_evname): Updated to add use mail subdirs.
	(mail_config_uri_renamed): Updated cachenames[]
	(mail_config_folder_to_cachename): Fixed to use the correct path.

	* em-folder-browser.c (emfb_create_view_menus): Updated the
	galview path to point to the evo-1.5 location.
	(emfb_set_folder): Update the galview view_instance.
	(emfb_create_view_instance): Split out from emfb_create_view_menus()
	(emfb_create_view_menus): Reduced code, call emfb_create_view_instance()

svn path=/trunk/; revision=23624
2003-12-03 23:11:40 +00:00
1b74224c04 Emit the OK response, not the CREATE_NEW response. Also,
2003-12-03  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-selector.c (emfs_create_name_activate): Emit the OK
	response, not the CREATE_NEW response. Also,
	g_signal_emit_by_name() does not take a GQuark detail argument, so
	don't pass one. Fixes bug #51661.

svn path=/trunk/; revision=23623
2003-12-03 21:47:33 +00:00
2831ada5a5 add e-asn1-object.[ch]
2003-12-03  Chris Toshok  <toshok@ximian.com>

	* lib/Makefile.am (libessmime_la_SOURCES): add e-asn1-object.[ch]

	* gui/smime-ui.glade: rename the ca trust dialog, and give it a
	proper id.

	* gui/certificate-manager.c (yourcerts_selection_changed): just
	use @selection.
	(contactcerts_selection_changed): same.
	(authoritycerts_selection_changed): same.

	* gui/certificate-viewer.c (free_data): free the cert chain.
	(fill_in_general): move all the general tab stuff here.
	(hierarchy_selection_changed): new function.  not finished.
	(fields_selection_changed): new function, unimplemented.
	(fill_in_details): new function, fill in the heirarchy and hook up
	signals and stuff.
	(certificate_viewer_show): call fill_in_general/fill_in_details.

	* lib/e-cert.c (e_cert_get_chain): new function.

	* lib/e-cert.h: add prototype for e_cert_get_chain.

svn path=/trunk/; revision=23622
2003-12-03 20:48:05 +00:00
d5cf06d5c6 grovel around at startup time for mozilla's pkcs11 module so we can get
2003-12-03  Chris Toshok  <toshok@ximian.com>

	* lib/e-cert-db.c (e_cert_db_class_init): grovel around at startup
	time for mozilla's pkcs11 module so we can get the same default
	set of root certs.

svn path=/trunk/; revision=23621
2003-12-03 20:17:35 +00:00
9407166101 If component_id is the empty string, pass NULL for it to
* e-shell.c (impl_Shell_createNewWindow): If component_id is the
empty string, pass NULL for it to e_shell_create_window() so we
get the default.

* main.c (idle_cb): Pass an empty string for component_id to
createNewWindow() if the default_component_id is NULL.

svn path=/trunk/; revision=23620
2003-12-03 20:08:14 +00:00
da19e7a409 tedfast <fejj@ximian.com>
tedfast  <fejj@ximian.com>

	* em-folder-view.c (emfv_set_folder): Sync the folder before
	replacing it with the new folder.

svn path=/trunk/; revision=23619
2003-12-03 19:24:43 +00:00
81a9c0d4f9 move e-task-bar and e-task-widget into libeshell.
[Fix pointed out by Bernard Leach <leachbj@bouncycastle.org>.]

svn path=/trunk/; revision=23618
2003-12-03 19:23:10 +00:00
f506e1e1db we want to insert at the place holder spot
2003-12-03  JP Rosevear <jpr@ximian.com>

	* evolution-mail-global.xml: we want to insert at the place holder
	spot

svn path=/trunk/; revision=23617
2003-12-03 19:09:40 +00:00
2a6e9f19c5 (emft_popup_rename_folder): Set oldpath and newpath to the proper
values. Fixes bug #51656.

svn path=/trunk/; revision=23616
2003-12-03 19:02:19 +00:00
84f290000d Remove. Remove. Remove. Remove. Remove. Remove. Remove. Remove.
* Evolution-Session.idl: Remove.
* Evolution-Activity.idl: Remove.
* Evolution-ShellComponent.idl: Remove.
* Evolution-ShellComponentDnd.idl: Remove.
* Evolution-ShellView.idl: Remove.
* Evolution-Shortcuts.idl: Remove.
* Evolution-Storage.idl: Remove.
* Evolution-StorageSetView.idl: Remove.

* evolution-shell-view.c: Remove.
* evolution-shell-view.h: Remove.

* evolution-session.c: Remove.
* evolution-session.h: Remove.

svn path=/trunk/; revision=23615
2003-12-03 17:59:27 +00:00
83627b1070 Do not call control_util_set_folder_bar_label().
* gui/tasks-control.c (tasks_control_activate): Do not call
control_util_set_folder_bar_label().

* gui/e-calendar-table.c (e_calendar_table_set_status_message):
Use e_activity_handler_operation_progressing(), not
evolution_activity_client_update().

* gui/e-cal-view.c: Remove settings menu.
(on_settings): Remove.

* gui/calendar-commands.c (get_shell_view_interface): Remove.
(control_util_set_folder_bar_label): Remove.
(calendar_set_folder_bar_label): Remove.
(control_util_show_settings): Remove.
(gcal_calendar_dates_change_cb): Remove.
(calendar_control_activate): Do not connect, do not call
calendar_set_folder_bar_label().

svn path=/trunk/; revision=23614
2003-12-03 17:58:57 +00:00
fe287412e9 (retrieve_shell_view_interface_from_control): Remove.
(set_folder_bar_label): Remove.
(addressbook_new_control): Don't connect.

svn path=/trunk/; revision=23613
2003-12-03 17:57:16 +00:00
32db1813a3 (SHELL_IDLS): Only get Evolution.idl.
svn path=/trunk/; revision=23612
2003-12-03 17:57:06 +00:00
d7aa831cc4 Need to prepend a "/" to path if the path is the url fragment. Also fixed
2003-12-03  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-tree.c (em_folder_tree_set_selected): Need to prepend
	a "/" to path if the path is the url fragment. Also fixed to
	select the store node if path == "/".

svn path=/trunk/; revision=23611
2003-12-03 17:50:59 +00:00
313275af7d free the notification list
2003-12-03  JP Rosevear <jpr@ximian.com>

	* gui/gnome-cal.c (gnome_calendar_destroy): free the notification
	list

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

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

svn path=/trunk/; revision=23610
2003-12-03 17:21:50 +00:00
ba62cfbfdb Treat parent_name == NULL and parent_name == "" the same.
2003-12-03  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/local/camel-mbox-store.c (create_folder): Treat
	parent_name == NULL and parent_name == "" the same.

svn path=/trunk/; revision=23609
2003-12-03 17:19:51 +00:00
1b43df2c57 Remove missing files, Add files with strings Remove missing files
2003-12-02  Rodney Dawes  <dobey@ixmian.com>

	* POTFILES.in: Remove missing files, Add files with strings
	* POTFILES.skip: Remove missing files

svn path=/trunk/; revision=23608
2003-12-03 17:11:46 +00:00
9933bad639 free up the notifications and the ecal (config_create_ecal_changed_cb):
2003-12-03  JP Rosevear <jpr@ximian.com>

	* gui/tasks-component.c (impl_dispose): free up the notifications
	and the ecal
	(config_create_ecal_changed_cb): clear the create_ecal if the
	primary selection changes
	(setup_create_ecal): find a default ecal to do creation with
	(impl_requestCreateItem): use above

svn path=/trunk/; revision=23607
2003-12-03 17:08:49 +00:00
15585cc9c6 Only add vTrash/vJunk info's if we've requested the toplevel folder tree,
2003-12-03  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-store.c (camel_store_get_folder_info): Only add
	vTrash/vJunk info's if we've requested the toplevel folder tree,
	otherwise we get vTrash/vJunk folders in odd places in the folder
	tree.
	(add_special_info): Use the provider->url_flags to determine if
	the url uses the fragment or not for the path.

svn path=/trunk/; revision=23606
2003-12-03 16:47:16 +00:00
4d8aef368f cast the parent (impl_createControls): add notification for primary tasks
2003-12-03  JP Rosevear <jpr@ximian.com>

	* gui/tasks-component.c (rename_task_list_cb): cast the parent
	(impl_createControls): add notification for primary tasks
	(config_primary_selection_changed_cb): handle primary selection
	changing in gconf

	* gui/calendar-config-keys.h: fix config key for primary tasks

svn path=/trunk/; revision=23605
2003-12-03 16:37:22 +00:00
5b7662b8c7 Fixed a FIXME by using the CamelProvider url flags to determine if the url
2003-12-03  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-selector.c (em_folder_selector_get_selected_uri):
	Fixed a FIXME by using the CamelProvider url flags to determine if
	the url used url->fragment or url->path as the folder path.

svn path=/trunk/; revision=23604
2003-12-03 16:27:06 +00:00
af58db7c0f remove the source before saving
2003-12-03  JP Rosevear <jpr@ximian.com>

	* em-folder-tree.c (em_folder_tree_destroy): remove the source
	before saving

svn path=/trunk/; revision=23603
2003-12-03 16:14:08 +00:00
5a68d43457 Set the save_state_id to 0 or we will never get a chance to run again.
2003-12-03  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-tree.c (em_folder_tree_save_state): Set the
	save_state_id to 0 or we will never get a chance to run again.

svn path=/trunk/; revision=23602
2003-12-03 16:10:13 +00:00