Commit Graph

902 Commits

Author SHA1 Message Date
4318006c1b ** Fix for bug #509595
2008-06-09  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #509595

	* e-logger.c: (e_logger_get_logs): Do not crash if file does not
	exists. Also be able to read lines more than 249 characters long.


svn path=/trunk/; revision=35614
2008-06-09 09:36:56 +00:00
f364d972e9 Code cleanup.
2008-06-08  Matthew Barnes  <mbarnes@redhat.com>

	* e-util/e-logger.[ch]: Code cleanup.


svn path=/trunk/; revision=35612
2008-06-09 01:33:04 +00:00
4503c052d0 ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
2008-06-06  Matthew Barnes  <mbarnes@redhat.com>

	** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
	   GTK_DISABLE_SINGLE_INCLUDES defined.  (#536637)


svn path=/trunk/; revision=35606
2008-06-06 15:12:53 +00:00
ab29a358fd Tell which plugin it could not load in the warning message.
2008-06-06  Tor Lillqvist  <tml@novell.com>

	* e-plugin.c (epl_loadmodule): Tell which plugin it could not load
	in the warning message.


svn path=/trunk/; revision=35604
2008-06-06 12:25:02 +00:00
66c4549eb8 ** Fixes bug #535273
2008-05-29  Frederic Crozat  <fcrozat@mandriva.com>

	** Fixes bug #535273
	        
	* Makefile.am:
	Link e-util and econduit libraries with gnome-pilot.


svn path=/trunk/; revision=35558
2008-05-29 16:14:29 +00:00
de67fcdb7c Code cleanup. Also add an "enabled" property to EPlugin.
2008-05-22  Matthew Barnes  <mbarnes@redhat.com>

	* e-util/e-plugin.c:
	* e-util/e-plugin.h:
	Code cleanup.  Also add an "enabled" property to EPlugin.


svn path=/trunk/; revision=35528
2008-05-23 02:52:07 +00:00
d7821c77a3 Move some EPlugin macros from e-plugin-ui.c to e-plugin.h where they belong.
svn path=/trunk/; revision=35520
2008-05-20 14:10:21 +00:00
f5e9fbef10 ** Fixes bug #530392
2008-05-19  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #530392

	* e-util/e-util-labels.c (e_util_labels_add_with_dlg):
	Pressing Enter in the entry activates the default response.


svn path=/trunk/; revision=35513
2008-05-19 17:15:16 +00:00
b452caf179 ** Fixes bug #514383
2008-05-16  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #514383

	* plugins/mark-all-read/mark-all-read.c: Add a Cancel button.

	* mail/mail.error.xml: Remove the "ask-mark-read" error.

	* e-error.c (e_error_newv): Widget packing adjustments.


svn path=/trunk/; revision=35504
2008-05-16 19:51:18 +00:00
6d741eea43 ** Fixes bug #531592
2008-05-14  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #531592

	* e-error.c (ee_build_label):
	Add an 'escape_args' parameter for strings that should /not/ be
	escaped, such as window titles and status bar messages.

	* e-error.c (e_error_newv):
	Pass an appropriate 'escape_args' value to ee_build_label().


svn path=/trunk/; revision=35500
2008-05-14 15:11:16 +00:00
116ed5dcc7 ** Fixes bug #525241 (EPluginUI)
2008-05-08  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #525241 (EPluginUI)

	* e-util/Makefile.am:
	Add e-plugin-ui.[ch].

	* e-util/e-plugin.h (EPluginClass):
	Add a "get_symbol" method for extracting arbitrary symbols
	from an EPlugin.  Implementation of the method is optional.

	* e-util/e-plugin.c (e_plugin_get_symbol):
	New function invokes the new "get_symbol" EPlugin method.

	* e-util/e-plugin.c (epl_get_symbol):
	New function implements the new "get_symbol" EPlugin method.
	It extracts the given symbol name from the GModule.

	* e-util/e-plugin-ui.[ch]:
	New EPluginHook subclass that allows plugins to extend menus,
	toolbars, and popups that are managed by GtkUIManager instead
	of BonoboUI.  Should eventually replace EMenu/EPopup.

	* shell/main.c (main): Register the EPluginUIHook type.

	* composer/e-msg-composer.c (msg_composer_destroy),
	(msg_composer_init): Rip out the EMenu logic.

	* composer/e-msg-composer.c (msg_composer_init):
	Register the GtkUIManager with EPluginUI.

	* plugins/face/Makefile.am:
	* plugins/face/org-gnome-face-ui.xml:
	Remove org-gnome-face-ui.xml (obsolete).

	* plugins/face/face.c (e_plugin_ui_init):
	Initialization callback for EPluginUI.  Adds a "face" action to
	the EMsgComposer instance's "composer" action group.

	* plugins/face/org-gnome-face.eplug.xml:
	Replace the "bonobomenu" hook definition with a new one for
	EPluginUI.  Include the UI definition inline.


svn path=/trunk/; revision=35485
2008-05-08 18:11:40 +00:00
9364fe5036 ** Fix for bug #529254
2008-04-23  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #529254

	* e-util/e-util.c: (e_write_file_uri):	Save file properly.
	Handle either URI or filename. Return success or failure, not gint.

	* addressbook/gui/widgets/eab-gui-util.c: (save_it):
	Prototype and return value of e_write_file_uri has been changed.


svn path=/trunk/; revision=35409
2008-04-23 09:19:23 +00:00
24b0c3d20d Move these files to e-util.
2008-04-22  Matthew Barnes  <mbarnes@redhat.com>

	* composer/gconf-bridge.c:
	* composer/gconf-bridge.h:
	Move these files to e-util.

	* composer/Makefile.am:
	* composer/e-composer-private.h:
	* mail/em-composer-prefs.c:
	Adapt.

	* e-util/Makefile.am:
	Add gconf-bridge.[ch] from composer.


svn path=/trunk/; revision=35399
2008-04-22 14:57:43 +00:00
1052963824 ** Fixes bug #528817
2008-04-18  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #528817

	* e-util/e-plugin.c (e_plugin_register_type):
	Fix a typo in the logic.  This might explain why I occasionally
	find Exchange Operations disabled on startup.


svn path=/trunk/; revision=35383
2008-04-18 20:57:43 +00:00
e9a0cfe1a9 ** Fix for bug #526741 (gnome-vfs to gio/gvfs port)
2008-04-17  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #526741 (gnome-vfs to gio/gvfs port)

	* configure.in: Drop dependency on gnome-vfs, depend on gio instead.

	* addressbook/gui/contact-editor/e-contact-editor.c: Do not include gnome-vfs.

	* calendar/gui/e-meeting-store.c: (start_async_read), (freebusy_async),
	(async_read): Read data with gio, not with gnome-vfs.
	* calendar/gui/e-meeting-store.c: (async_close): Function removed.
	* calendar/gui/migration.c:
	* calendar/gui/e-memos.c:
	* calendar/gui/alarm-notify/notify-main.c:
	* calendar/gui/e-tasks.c:
	* calendar/gui/main.c:
	* calendar/gui/e-meeting-list-view.c:
	Do not include gnome-vfs.
	* calendar/gui/dialogs/comp-editor.c: (set_attachment_list):
	* calendar/gui/dialogs/comp-editor.c: (attachment_guess_mime_type):
	Function removed, use e-util function instead.
	* calendar/gui/e-cal-popup.c: (temp_save_part):
	Reflect changes in CamelStreamVFS.
	* calendar/gui/e-cal-popup.c: (ecalp_apps_open_in), (ecalp_apps_popup_free),
	(ecalp_standard_menu_factory): Use gio to fill popup and launch app.
	* calendar/gui/e-cal-component-preview.h: (e_cal_comp_preview_url_requested_cb):
	* calendar/gui/e-cal-component-preview.c: (e_cal_comp_preview_url_requested_cb):
	New helper function to manage file:// urls for GtkHTML component.
	* calendar/gui/e-cal-component-preview.c: (e_cal_component_preview_init):
	* calendar/gui/e-cal-component-memo-preview.c:
	(e_cal_comp_preview_url_requested_cb):
	Use above helper function.
	* calendar/gui/e-cal-component-memo-preview.c: (url_requested_cb):
	* calendar/gui/e-cal-component-preview.c: (url_requested_cb): Function removed.

	* composer/e-msg-composer.h: (e_msg_composer_guess_mime_type):
	* composer/e-msg-composer.c: (e_msg_composer_guess_mime_type), (handle_uri),
	(e_msg_composer_add_inline_image_from_file):
	Use shared e_util_guess_mime_type instead of its own.

	* e-util/e-gui-utils.c: Do not include gnome-vfs.
	* e-util/e-util.c: (e_write_file_uri), (e_file_get_save_path):
	* e-util/e-dialog-utils.c: (e_file_can_save), (e_file_check_local):
	Use gio instead of gnome-vfs.
	* e-util/e-util.h:
	* e-util/e-util.c: (e_util_guess_mime_type), (e_util_filename_to_uri),
	(e_util_uri_to_filename), (e_util_read_file): New helper functions.

	* mail/Makefile.am:
	* mail/em-vfs-stream.h:
	* mail/em-vfs-stream.c: Removed from project, not used anywhere.
	* mail/em-menu.c:
	* mail/em-config.c: Do not include gnome-vfs.
	* mail/mail-ops.c: (save_messages_exec), (save_part_exec):
	Changes related to Data Server change of CamelStreamVFS.
	* mail/em-format.c: (em_format_describe_part):
	* mail/em-format-html-display.c: (efhd_bonobo_object), (efhd_find_handler),
	(efhd_use_component), (efhd_bonobo_unknown), (efhd_check_server_prop),
	(efhd_format_attachment): Drop use of deprecated gnome-vfs functions.
	* mail/em-utils.c: (em_utils_snoop_type): Use gio to guess the mime_type.
	* mail/em-popup.c: (emp_apps_open_in), (emp_apps_popup_free),
	(emp_standard_menu_factory): Use gio to fill popup and launch app.

	* plugins/import-ics-attachments/icsimporter.c: Do not include gnome-vfs.

	* plugins/ipod-sync/ical-format.c: (do_save_calendar_ical):
	* plugins/ipod-sync/ipod-sync.c: (destination_save_addressbook):
	Write to gio GOutputStream instead of gnome-vfs handle.
	* plugins/ipod-sync/format-handler.h: (open_for_writing):
	* plugins/ipod-sync/ipod-sync.c: (open_for_writing): New helper function.

	* plugins/publish-calendar/publish-format-fb.h: (publish_calendar_as_fb):
	* plugins/publish-calendar/publish-format-fb.c: (write_calendar), (publish_calendar_as_fb):
	* plugins/publish-calendar/publish-format-ical.h: (publish_calendar_as_ical):
	* plugins/publish-calendar/publish-format-ical.c: (write_calendar), (publish_calendar_as_ical):
	Use gio GOutputStream instead of gnome-vfs handle.
	* plugins/publish-calendar/url-editor-dialog.c: (create_uri): Use glib function to escape URI.
	* plugins/publish-calendar/publish-location.c: (migrateURI): Use EUri to parse URI.
	* plugins/publish-calendar/publish-calendar.c: (publish_online), (unmount_done_cb),
	(struct mnt_struct), (mount_ready_cb), (ask_password), (ask_question),
	(mount_first), (publish):
	Use gio instead of gnome-vfs for opening (remote) files.

	* plugins/save-calendar/ical-format.c: (do_save_calendar_ical):
	* plugins/save-calendar/csv-format.c: (do_save_calendar_csv):
	* plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf):
	Use gio GOutpuStream instead of gnome-vfs handle.
	* plugins/save-calendar/format-handler.h: (open_for_writing):
	* plugins/save-calendar/save-calendar.c: (open_for_writing): New helper function.

	* shell/e-shell-window-commands.c: (command_quick_reference):
	Use gio instead of gnome-vfs.

	* widgets/misc/e-attachment.h: (struct _EAttachment):
	* widgets/misc/e-attachment.c: (finalise), (init), (attachment_guess_mime_type),
	(e_attachment_new), (struct DownloadInfo), (download_info_free),
	(data_ready_cb), (download_to_local_path),
	(e_attachment_new_remote_file):
	Use gio instead of gnome-vfs to download remote files.
	* widgets/misc/e-image-chooser.c: (image_drag_data_received_cb):
	Use new util function to read file.
	* widgets/misc/e-attachment-bar.c: (size_to_string): Stolen from gnome-vfs.


svn path=/trunk/; revision=35378
2008-04-17 16:59:08 +00:00
332a16bbb6 Clarify an error message. (#509672)
2008-04-12  Matthew Barnes  <mbarnes@redhat.com>

	* e-util/e-util-labels.c (e_util_labels_add_with_dlg):
	Clarify an error message.  (#509672)


svn path=/trunk/; revision=35360
2008-04-13 03:52:30 +00:00
a182527b8f reviewed by: Milan Crha
2008-04-07  Takao Fujiwara  <takao.fujiwara@sun.com>

	reviewed by: Milan Crha

	** Fix for bug #408579

	* mail/mail.error.xml:
	* e-util/e-system.error.xml:
	  Changed '&quot;' to '\"' to work with intltool.


svn path=/trunk/; revision=35329
2008-04-07 03:28:14 +00:00
7b6bd14ba2 Changed a stupid conditional statement, in the previous commit.
2008-03-20  Sankar P  <psankar@novell.com>

	* e-plugin.c: (ep_load):
	Changed a stupid conditional statement, 
	in the previous commit.

svn path=/trunk/; revision=35225
2008-03-20 06:39:37 +00:00
04000625d6 ** Fix for bug #496839
2008-03-19  Sankar P  <psankar@novell.com>

	** Fix for bug #496839 

	* e-plugin.c: (ep_load), (e_plugin_load_plugins),
	(e_plugin_get_configure_widget):
	* e-plugin.h:
	- Implement Plugin Load Levels. You can decide
	on which load-level you want your plugin to be loaded.
	- Load Levels are mandatory if you need other language loaders
	like Mono-Loader or Python-Loader.
	- Introduce FLAGS as part of EPlugin. Futuristic. 



svn path=/trunk/; revision=35216
2008-03-19 09:06:21 +00:00
a88b081679 Patch from Alex Rostovtsev <tetromino@gmail.com>: Fix for bug #522631 (Make 'e_profile_event_emit' non-static when ENABLE_PROFILING is defined)
svn path=/trunk/; revision=35208
2008-03-17 04:42:56 +00:00
cc692562f5 ** Fixes breakage caused by bug #513951
2008-03-12  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes breakage caused by bug #513951

	* mail-autofilter.c (filter_gui_add_from_message),
	(mail_filter_rename_uri), (mail_filter_delete_uri):
	* mail-tools.c (mail_tool_get_local_movemail_path):
	* mail-vfolder.c (mail_vfolder_delete_uri), (mail_vfolder_rename_uri),
	(store_folder_deleted), (store_folder_renamed),
	(vfolder_load_storage), (vfolder_revert),
	(em_vfolder_editor_response), (edit_rule_response),
	(new_rule_clicked):
	* em-folder-browser.c (emfb_search_search_activated):
	* em-folder-tree.c (em_folder_tree_new):
	* mail-ops.c (uid_cachename_hack), (empty_trash_exec):
	* em-folder-view.c (emfv_setup_view_instance):
	* em-utils.c (em_filter_editor_response), (em_utils_edit_filters):
	* importers/mail-importer.c (import_folders_rec):
	* mail-folder-cache.c (rename_folders):
	* em-format-html.c (em_format_html_get_type):
	* mail-session.c (main_get_filter_driver):
	* mail-config.c (gconf_mime_types_changed), (uri_to_evname),
	(mail_config_folder_to_cachename), (get_new_signature_filename):
	Adapt to new meaning of mail_component_peek_base_directory().

	* mail-component.c (mail_component_init):
	Add back initialization of priv->base_directory.  Accidentally
	removed it somehow in last commit.


svn path=/trunk/; revision=35179
2008-03-12 12:25:24 +00:00
e0d5ae3e97 ** Fixes bug #513951
2008-03-11  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #513951

	* addressbook/gui/component/addressbook-component.c (ensure_sources):
	* addressbook/gui/component/addressbook-migrate.c (addressbook_migrate):
	* calendar/gui/cal-search-bar.c (cal_search_bar_construct):
	* calendar/gui/migration.c (create_calendar_sources),
	(create_task_sources), (migrate_calendars), (migrate_tasks),
	(create_memo_sources):
	* calendar/gui/e-memos.c (e_memos_setup_view_menus):
	* calendar/gui/tasks-component.c (ensure_sources):
	* calendar/gui/gnome-cal.c (gnome_calendar_setup_view_menus):
	* calendar/gui/calendar-component.c (ensure_sources):
	* calendar/gui/memos-component.c (ensure_sources):
	* mail/mail-config.c (gconf_mime_types_changed):
	Adapt to new meaning of xxx_component_peek_base_directory().

	* addressbook/gui/component/addressbook-component.c
	(addressbook_component_init):
	* addressbook/gui/component/addressbook-migrate.c (create_groups):
	* calendar/gui/tasks-component.c (tasks_component_init):
	* calendar/gui/calendar-component.c (calendar_component_init):
	* calendar/gui/memos-component.c (memos_component_init):
	* composer/e-msg-composer.c (autosave_manager_query_load_orphans),
	(autosave_init_file):
	* e-util/e-mktemp.c (get_dir):
	* e-util/e-util.c (get_lock_filename):
	* mail/mail-component.c:
	* plugins/face/face.c (org_gnome_composer_face):
	* smime/lib/e-cert-db.c (initialize_nss):
	Use e_get_user_data_dir() instead of constructing the full path.

	* calendar/gui/migration.c (add_gw_esource):
	* composer/e-msg-composer.c (e_msg-composer_unrealize),
	(e_msg_composer_set_view_from), (e_msg_composer_set_view_replyto),
	(e_msg_composer_set_view_to), (e_msg_composer_set_view_postto),
	(e_msg_composer_set_view_cc), (e_msg_composer_set_view_bcc):
	* e-util/e-util.c (e_file_update_save_path), (e_file_get_save_path):
	Emit warnings if saving to GConf fails.

	* e-util/e-util.c (e_get_user_data_dir):
	New function returns the base directory for Evolution user data.
	This should be the /only/ place in the application where this
	directory is hard-coded.


svn path=/trunk/; revision=35175
2008-03-11 15:20:59 +00:00
ad7d90b224 ** Fix for bug #209353
2008-02-19  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #209353

	* e-util/e-text-event-processor-emacs-like.c:
	(e_text_event_processor_emacs_like_event):
	Allow paste text on mouse middle button click.

	* widgets/table/e-table-item.c: (eti_event):
	Pass Home/End keys to cell when editing.


svn path=/trunk/; revision=35055
2008-02-19 19:05:09 +00:00
a0bb856b78 ** Part of fix for bug #515744
2008-02-18  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #515744

	* addressbook/gui/component/addressbook-migrate.c: (get_source_name):
	* plugins/groupwise-features/send-options.c: (get_source):
	* plugins/groupwise-features/share-folder-common.c: (get_container_id):
	* plugins/groupwise-features/install-shared.c: (install_folder_response):
	* plugins/external-editor/external-editor.c: (convert_to_camel_internet_address),
	(org_gnome_external_editor):
	* plugins/itip-formatter/itip-formatter.c: (idle_open_cb):
	* mail/em-folder-view.c: (emfv_setup_view_instance):
	* mail/mail-component.c: (impl_finalize):
	* mail/message-list.c: (ml_tree_value_at):
	* composer/e-msg-composer.c: (drop_action):
	* e-util/e-config.c: (ep_finalise): Use proper member to free.
	* widgets/misc/e-cursors.c: (e_cursors_init):
	* widgets/misc/e-calendar-item.c: (e_calendar_item_draw_month):
	* calendar/gui/dialogs/comp-editor.c: (drop_action):
	* calendar/gui/calendar-config.c:
	(calendar_config_get_hide_completed_tasks_sexp):
	* calendar/gui/comp-editor-factory.c: (edit_existing):
	* calendar/gui/e-day-view.c: (e_day_view_reshape_long_event),
	(e_day_view_on_top_canvas_drag_data_received):
	* calendar/gui/e-day-view-main-item.c:
	(e_day_view_main_item_draw_events_in_vbars),
	(e_day_view_main_item_draw_long_events_in_vbars):
	* calendar/gui/e-day-view-top-item.c: (e_day_view_top_item_draw_long_event):
	* calendar/gui/e-cal-model.c: (redo_queries):
	* calendar/gui/e-calendar-table.c: (e_calendar_table_open_task):
	* calendar/gui/e-memo-table.c: (open_memo):
	* calendar/gui/print.c: (print_todo_details):
	* calendar/gui/migration.c: (get_source_name):
	Memory leak fix.
	* calendar/gui/e-week-view.c: (e_week_view_reshape_events): Simplifies things.


svn path=/trunk/; revision=35044
2008-02-18 11:10:10 +00:00
974e152f9b ** Fixes part of bug #509741
2008-02-08  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes part of bug #509741

	* mail/mail-session.c (user_message_exec):
	Use the number of dialog buttons as a heuristic for whether to
	display a message in the status bar or immediately present the
	dialog to the user.

	* e-util/e-error.c (e_error_newv):
	If the error dialog has no primary text, fallback to the window
	title for the "primary" data key.  This is what gets displayed
	in the status bar.

	* e-util/e-error.c (e_error_count_buttons):
	New function counts buttons in a dialog's action area.


svn path=/trunk/; revision=34977
2008-02-08 14:43:44 +00:00
f52c571c51 Construct pathname under EVOLUTION_DATADIR at run-time because
2008-01-24  Tor Lillqvist  <tml@novell.com>

	* e-icon-factory.c (e_icon_factory_init): Construct pathname under
	EVOLUTION_DATADIR at run-time because EVOLUTION_DATADIR is a
	function call on Windows.


svn path=/trunk/; revision=34885
2008-01-24 21:06:23 +00:00
16ed932ab3 ** Fix for bug #488213
2008-01-11  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #488213

	* e-util/e-icon-factory.h: (e_icon_factory_pixbuf_scale):
	* e-util/e-icon-factory.c: (e_icon_factory_pixbuf_scale):
	New global function for pixbuf scaling which speeds up scaling when
	HAVE_LIBGNOMEUI_GNOME_THUMBNAIL_H.

	* addressbook/gui/contact-editor/e-contact-editor.c: (extract_simple_field):
	* mail/em-icon-stream.c: (emis_fit):
	* mail/em-format-html-display.c: (efhd_attachment_button):
	* e-util/e-icon-factory.c: (load_icon):
	* widgets/misc/e-spinner.c: (scale_to_size):
	* widgets/misc/e-image-chooser.c: (set_image_from_data):
	* widgets/misc/e-attachment-bar.c: (e_attachment_bar_create_attachment_cache), (update):
	Use global function e_icon_factory_pixbuf_scale for scaling pixbufs.


svn path=/trunk/; revision=34800
2008-01-11 16:05:07 +00:00
dd7bad0741 ** Fix for bug #211353
2008-01-10  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #211353

	* po/POTFILES.in: Added new file e-util/e-util-labels.c

	* mail/filtertypes.xml:
	* mail/vfoldertypes.xml:
	* mail/em-folder-view.c:
	* mail/em-folder-browser.c:
	* mail/em-mailer-prefs.h:
	* mail/em-mailer-prefs.c:
	* mail/mail-config.h:
	* mail/mail-config.c:
	* mail/mail-config.glade:
	* mail/message-list.c:
	Label tags are now generated based on label name when creating, except
	of first 5 labels. New menu option "New Label" in popup menu over
	message list and editing of labels has been changed in Preferences.
	Also renaming tab in Preferences for "Labels", not "Colors", and the
	tab label too.
	mail-config-label... functions was moved to e-util/e-util-labels.c/.h.
	* mail/message-list.etspec: Normalized columns has been moved by one
	when label column has been added.

	* filter/filter-option.h:
	* filter/filter-option.c: (filter_option_get_current),
	(filter_option_remove_all): New functions to be able to refill options
	even after initialization of the filter element.
	* filter/filter-label.c: Added support to notify changes on labels in runtime
	and use actual labels.

	* e-util/Makefile.am:
	* e-util/e-util-labels.h:
	* e-util/e-util-labels.c: New files to work with labels.


svn path=/trunk/; revision=34788
2008-01-10 11:19:37 +00:00
c36282c9de ** Fix for bug #507363
2008-01-07  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #507363

	* e-cursor.c: (e_cursor_set):
	Also check if toplevel widget has non-NULL window property.


svn path=/trunk/; revision=34776
2008-01-07 12:22:39 +00:00
2093e31002 ** Fix for bug #211353
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #211353

	* message-list.etspec:
	* message-list.h:
	* message-list.c: Added new column to show labels.
	* filtertypes.xml:
	* vfoldertypes.xml:
	Code for label filters/search folders has been changed.
	* mail-config.glade:
	* em-folder-view.c: (emfv_set_label), (emfv_unset_label),
	(emfv_popup_label_clear), (emfv_popup_label_set),
	(emfv_popup_labels_get_state_for_tag), (emfv_popup):
	Labels popup submenu is now shown with checkboxes so one can set
	more than one label to the message and unset only one label from
	message. There has been added new function, because of this.
	* mail-config.h:
	* mail-config.c: New "interface" functions to work with labels.
	* em-mailer-prefs.h:
	* em-mailer-prefs.c: Editing labels in tree.
	* em-folder-browser.c:
	Labels in show menu reflect changes in preferences.
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #211353

	* filter-label.c: Use global label's setup, not its own copy.
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #211353

	* e-popup.h:
	* e-popup.c: (ep_build_tree):
	Toggles can be in inconsistent state now, and can also contain
	an image, which is a pointer to GtkImage widget.
2007-12-14  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #211353

	* e-search-bar.c: (e_search_bar_get_viewitem_id):
	Return -1 if no viewmenu is setup yet.


svn path=/trunk/; revision=34715
2007-12-17 05:40:53 +00:00
5b89cbe4f5 ** Non-intrusive errror reporting and basic logging support.
2007-12-17  Srinivasa Ragavan  <sragavan@novell.com>

	** Non-intrusive errror reporting and basic logging support.

	* em-folder-browser.c: (emfb_help_debug): Invoke the debug menu.
	* evolution-mail.schemas.in: Schema for error timeout and level.
	* mail-component.c: (mail_component_init), (render_pixbuf),
	(render_level), (render_date), (append_logs), (spin_value_changed),
	(mail_component_show_logger): Handle the lifecycle of the logger.
	* mail-component.h: Api to show the logger.
	* mail-config.c: (gconf_error_time_changed),
	(gconf_error_level_changed), (mail_config_init),
	(mail_config_get_error_timeout), (mail_config_get_error_level): Load
	and get the error time and level.
	* mail-config.h:
	* mail-mt.c: (mail_msg_set_cancelable), (mail_msg_new),
	(end_event_callback), (mail_msg_free), (mail_msg_check_error),
	(operation_cancel), (do_op_status): Revamp the error handling.
	* mail-mt.h:
	* mail-ops.c: (send_queue_send), (mail_send_queue): Handle the send/receive 
	case of error reporting separately.
	* mail-send-recv.c: (free_send_info), (mail_send):

2007-12-17  Srinivasa Ragavan  <sragavan@novell.com>

	** Revamped Activity handler and task bar/widget for non-intrusive 
	error reporting

	* e-activity-handler.c: (activity_info_new), (activity_info_free),
	(task_widget_new_from_activity_info), (setup_task_bar),
	(e_activity_handler_init),
	(e_activity_handler_set_error_flush_time),
	(e_activity_handler_set_logger), (cancel_wrapper),
	(e_activity_handler_cancelable_operation_started),
	(e_activity_handler_operation_started), (handle_error),
	(error_cleanup), (e_activity_handler_make_error),
	(e_activity_handler_operation_set_error),
	(e_activity_handler_operation_progressing),
	(e_activity_handler_operation_finished):
	* e-activity-handler.h:
	* e-task-bar.c: (e_task_bar_prepend_task),
	(e_task_bar_remove_task_from_id), (e_task_bar_remove_task),
	(e_task_bar_get_task_widget_from_id):
	* e-task-bar.h:
	* e-task-widget.c: (e_task_widget_init), (button_press_event_cb),
	(prepare_popup), (e_task_widget_construct),
	(e_task_widget_new_with_cancel), (e_task_widget_new),
	(e_task_widget_update_image):
	* e-task-widget.h:

2007-12-17  Srinivasa Ragavan  <sragavan@novell.com>

	* Makefile.am: Add e-logger.[ch] to compilation
	* e-error.c: (e_error_newv): Add primary/secondary text to the error 
	dialog to the gobject as data.
	* e-logger.[ch]: A new logger provision Evolution. 

2007-12-17  Srinivasa Ragavan  <sragavan@novell.com>

	* evolution-mail-global.xml: Add Debug Log menu item for mailer.
	* evolution.xml: Add place holder for Debug menu item.



svn path=/trunk/; revision=34712
2007-12-16 20:19:53 +00:00
4102e69e63 Fix a compiler warning
2007-12-05  Srinivasa Ragavan  <sragavan@novell.com>

	* e-util.h: Fix a compiler warning


svn path=/trunk/; revision=34653
2007-12-05 15:35:31 +00:00
08380ae64e ** Add basic support for crash recovery
2007-12-05  Srinivasa Ragavan  <sragavan@novell.com>

	** Add basic support for crash recovery

	* apps_evolution_shell.schemas.in: Keys to recover and recovery dialog.
	* e-shell.c: (e_shell_quit): Delete the lock while quitting.
	* main.c: (show_recovery_warning), (idle_cb): Create lock and also show 
	the warning dialog.


svn path=/trunk/; revision=34652
2007-12-05 15:11:26 +00:00
f4d3ee5d59 ** Fix for bug #500210
2007-12-04  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #500210

	* plugins/plugin-manager/plugin-manager.c: Changed coding-style to be more accurate to other
	sources, but the main change was to show configuration options of the
	plugin into extra tab, instead of new popup under 'Configure' button.

	* e-util/e-plugin.h:
	* e-util/e-plugin.c: (e_plugin_configure), (e_plugin_is_configurable),
	(epl_configure), (e_plugin_get_configure_widget),
	(epl_get_configure_widget): Removed old configure functions,
	replaced by get_configure_widget functions, to be able show
	plugin configuration in a tab of plugin manager.



svn path=/trunk/; revision=34639
2007-12-04 10:57:59 +00:00
796e7ca63b ** Fixes bug #392747
2007-12-03  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #392747

	* e-util/e-utils.c (e_get_month_name), (e_get_weekday_name):
	New functions cache localized month and weekday names (respectively)
	for easier retrieval than resorting to strftime().

	* a11y/widgets/ea-calendar-item.c (ea_calendar_item_get_column_label):
	Get the column label via e_get_weekday_name().

	* calendar/gui/weekday-picker.c (get_day_text):
	Convert the day_index to GDateWeekday and call e_get_weekday_name().

	* widgets/misc/e-calendar-item.h (struct _ECalendarItem):
	* widgets/misc/e-calendar-item.c (e_calendar_item_init),
	(e_calendar_item_draw):
	Lose the local weekday name cache and just call e_get_weekday_name().


svn path=/trunk/; revision=34627
2007-12-03 13:19:39 +00:00
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
11cf7790eb ** Fix for bug #494320
2007-11-13  Ondrej Jirman  <megous@megous.com>

	** Fix for bug #494320

	* e-popup.c: (e_popup_create_menu): Add support for redefining
	existing menu items.


svn path=/trunk/; revision=34530
2007-11-13 18:36:02 +00:00
aed824675f ** Fix for bug #492692
2007-11-05  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #492692

	* e-util.c: (e_str_case_compare): Leak fix.


svn path=/trunk/; revision=34513
2007-11-05 12:55:12 +00:00
8228c1b611 ** Remove dead files from source control. The dates below indicate when
2007-11-03  Matthew Barnes  <mbarnes@redhat.com>

	** Remove dead files from source control.  The dates below
	   indicate when the file was removed from Makefile.am.
	   Fixes part of bug #478704.

	* addressbook/printing/e-contact-print-envelope.c	(Apr 2007)
	* addressbook/printing/e-contact-print-envelope.h	(Apr 2007)
	* addressbook/tools/evolution-addressbook-abuse.c	(May 2004)
	* addressbook/tools/evolution-addressbook-import.c	(no history)
	* calendar/gui/dialogs/calendar-setup.glade		(Nov 2004)
	* calendar/gui/dialogs/meeting-page.etspec		(Sep 2003)
	* calendar/gui/dialogs/new-calendar.glade		(Jan 2003)
	* calendar/gui/dialogs/new-task-list.glade		(Jan 2004)
	* calendar/gui/dialogs/url-editor-dialog.c		(Dec 2005)
	* calendar/gui/dialogs/url-editor-dialog.glade		(Dec 2005)
	* calendar/gui/dialogs/url-editor-dialog.h		(Dec 2005)
	* calendar/gui/e-pub-utils.c				(Dec 2005)
	* calendar/gui/e-pub-utils.h				(Dec 2005)
	* calendar/gui/gnome-calendar-conduit.png		(May 2000)
	* e-util/e-categories-master-list-wombat.c		(Jun 2005)
	* e-util/e-categories-master-list-wombat.h		(Jun 2005)
	* tools/evolution-launch-composer.c			(Jun 2003)

	* configure.in:
	Remove plugins/mail-remote/Makefile from AC_OUTPUT.
	Fixes a distcheck error.

	* po/POTFILES.in: Remove files for mail-remote plugin.


svn path=/trunk/; revision=34487
2007-11-03 12:06:34 +00:00
131a11a8a6 ** Fix for bug #461272
2007-10-26  Sankar P  <psankar@novell.com>

	** Fix for bug #461272

	* plugin-manager.c: (eppm_selection_changed),
	(org_gnome_plugin_manager_manage):
	Configure button should not be enabled for all.
	configure button needs a hot-key.



svn path=/trunk/; revision=34432
2007-10-26 10:54:17 +00:00
27f2852a27 Warning fixes. - NULL vs 0 - ANSIfication of declarations - missing
2007-10-26  Kjartan Maraas  <kmaraas@gnome.org>

	* e-config.c:
	* e-event.c:
	* e-gui-utils.c:
	* e-import.c:
	* e-menu.c:
	* e-mktemp.c: (get_dir):
	* e-popup.c:
	* e-profile-event.c: (e_profile_event_peek):
	* e-util.c: (get_font_options):
	* e-xml-utils.c: (e_xml_get_string_prop_by_name),
	(e_xml_get_string_prop_by_name_with_default),
	(e_xml_get_translated_string_prop_by_name):

	Warning fixes.
	- NULL vs 0
	- ANSIfication of declarations
	- missing include

svn path=/trunk/; revision=34428
2007-10-26 08:00:59 +00:00
953e66428a ** Migration of theme icons to data/icons/ (bug #479257)
2007-10-12  Michael Monreal <michael.monreal@gmail.com>

	** Migration of theme icons to data/icons/ (bug #479257)

	* art/Makefile.am: Remove references to art/$size.
	* configure.in: Include new data/icons/ directory.
	* file e-util/e-icon-factory.c:
	Append a private icon directory to the search path.

	New inbox/outbox/sent icons.
	* mail/em-folder-tree.c, mail/mail-send-recv.c:
	Change icon references.

	New view-calendar icons.
	* calendar/gui/calendar-commands.c: Change icon references.


svn path=/trunk/; revision=34383
2007-10-12 09:49:02 +00:00
aa70b15ea0 ** Fix for bug #311179
2007-10-11  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #311179

	* e-error.c: (e_error_newv): Unset GTK_CAN_FOCUS on label to prevent
	gaining focus by Tab, still can select and copy text by mouse.


svn path=/trunk/; revision=34372
2007-10-11 13:37:20 +00:00
b32649a94c ** Fixes bug #437579
2007-10-09  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #437579

	* addressbook/conduit/address-conduit.c:
	* addressbook/gui/component/addressbook-config.c:
	* addressbook/gui/contact-editor/e-contact-editor.c:
	* addressbook/gui/widgets/eab-gui-util.c:
	* calendar/conduits/calendar/calendar-conduit.c:
	* calendar/conduits/memo/memo-conduit.c:
	* calendar/conduits/todo/todo-conduit.c:
	* calendar/gui/dialogs/alarm-dialog.c:
	* calendar/gui/dialogs/event-page.c:
	* calendar/gui/dialogs/memo-page.c:
	* calendar/gui/dialogs/task-page.c:
	* calendar/gui/e-day-view-layout.c:
	* calendar/gui/e-day-view-layout.h:
	* calendar/gui/print.c:
	* e-util/e-pilot-map.c:
	* e-util/e-plugin.c:
	* e-util/e-profile-event.c:
	* e-util/e-signature.c:
	* filter/filter-file.c:
	* mail/e-searching-tokenizer.c:
	* mail/em-folder-browser.c:
	* mail/em-format-html.c:
	* mail/em-format-view.c:
	* mail/em-format.c:
	* mail/em-mailer-prefs.c:
	* mail/em-mailer-prefs.h:
	* mail/mail-session.c:
	* mail/mail-session.h:
	* mail/mail-vfolder.c:
	* mail/message-list.c:
	* plugins/bbdb/bbdb.c:
	* plugins/bbdb/gaimbuddies.c:
	* plugins/calendar-http/calendar-http.c:
	* plugins/exchange-operations/exchange-user-dialog.c:
	* plugins/face/face.c:
	* shell/e-shell-window.c:
	* shell/e-shell.c:
	* smime/lib/e-cert-db.c:
	* tools/killev.c:
	* widgets/misc/e-cursors.c:
	* widgets/misc/e-spinner.c:
	* widgets/misc/e-unicode.c:
	* widgets/table/e-table-field-chooser-item.c:
	* widgets/table/e-table-header-item.c:
	* widgets/table/e-table-header-item.h:
	* widgets/table/e-table-header-utils.c:
	* widgets/table/e-table.c:
	* widgets/text/e-text.c:
	Fix various compiler warnings.  Patch from Milan Crha.


svn path=/trunk/; revision=34368
2007-10-10 04:54:36 +00:00
09d4af6fff ** Fixes bug #469657
2007-10-02  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #469657

	* addressbook/importers/evolution-ldif-importer.c:
	* calendar/gui/comp-editor-factory.c:
	* composer/e-msg-composer.c:
	* e-util/e-config-listener.c:
	* mail/em-composer-prefs.c:
	* mail/em-folder-tree-model.c:
	* mail/em-format.c:
	* mail/em-format-html.c:
	* mail/em-migrate.c:
	* mail/em-subscribe-editor.c:
	* mail/mail-component.c:
	* mail/mail-send-recv.c:
	* mail/message-list.c:
	* mail/importers/elm-importer.c:
	* plugins/exchange-operations/exchange-folder-size-display.c:
	* plugins/mono/mono-plugin.c:
	* shell/e-shell-settings-dialog.c:
	* tools/killev.c:
	* widgets/table/e-table-extras.c:
	* widgets/table/e-table-selection-model.c:
	Use destroy functions in GHashTables to simplify memory management.


svn path=/trunk/; revision=34344
2007-10-02 11:54:42 +00:00
e2e5e8d754 Fix for bug #461195 from Hiroyuki Ikezoe.
Use GObject's marshalers whenever possible.


svn path=/trunk/; revision=34324
2007-09-27 20:08:55 +00:00
508aee66f9 ** Fix for bug #471791
svn path=/trunk/; revision=34214
2007-09-10 10:57:03 +00:00
e0965ab239 2007-09-07 mcrha Fix for bug #473903
svn path=/trunk/; revision=34192
2007-09-07 07:51:47 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
e3bc9c8237 2007-08-20 mcrha Fix for bug #367760
svn path=/trunk/; revision=34042
2007-08-20 07:11:31 +00:00