Commit Graph

161 Commits

Author SHA1 Message Date
23f58b3f17 Merge branch 'vcard-inline' 2009-05-20 16:50:38 -04:00
e4fa8fe104 Fix several types of pedantic compiler warnings. 2009-05-16 12:11:55 -04:00
7c4ce285d0 Convert the vCard Bonobo control to an EMFormatHook plugin. 2009-05-05 22:40:51 -04:00
f4ecf2d62f Assure that the filename <-> uri conversion are done with g_filename_{to,from}_uri and not by concatenating strings which is broken with win32-style uris 2009-05-04 10:48:31 +05:30
1c198bd711 Bug 580896 – Kill libgnome/gnome-program
Removed e-util/e-gui-utils.[ch].
2009-04-30 16:28:36 -04:00
4449a34101 Commit the rest of the attachment UI rewrite
Oops, last commit only included the -new- files.
This also removes EExpander, which is no longer used.
2009-04-27 15:36:19 -04:00
e42f276527 Bug 577929 – Consolidate marshallers
Consolidate all marshalling specifications to e-util/e-marshal.list.
This reduces code duplication and makes it slightly easier to locate
unused marshallers.
2009-04-23 10:02:07 -04:00
e936b7d67b Format signature/encryption information nicer.
2009-02-10  Milan Crha  <mcrha@redhat.com>

	* em-format-html-display.c: (efhd_format_secure):
	Format signature/encryption information nicer.


svn path=/trunk/; revision=37241
2009-02-10 16:24:31 +00:00
a4c046053d Show attachment bar at all times. Seems like the contents are missing at
2009-01-29  Srinivasa Ragavan  <sragavan@novell.com>

	* em-format-html-display.c: (efhd_update_bar),
	(efhd_message_update_bar): Show attachment bar at all times. Seems
	like the contents are missing at times.

svn path=/trunk/; revision=37176
2009-01-29 16:10:16 +00:00
c6bd0b0932 ** Fix for bug #565376
2009-01-08  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #565376

	* vfoldertypes.xml:
	* searchtypes.xml: Merge some search types together.
	* em-vfolder-context.c: (vfolder_new_element): More elements.
	* em-filter-folder-element.h: (struct _EMFilterFolderElement):
	* em-filter-folder-element.c: (xml_encode), (xml_decode),
	(folder_selected), (get_widget), (format_sexp):
	Support storing folder uri in a camel's way.

	* em-format-html-display.c: (efhd_use_component):
	Compiler warning fix.


svn path=/trunk/; revision=37015
2009-01-08 11:20:24 +00:00
7c0d77d3d4 Fix a impllicit warning
2008-12-15  Srinivasa Ragavan  <sragavan@novell.com>

	* em-format-html-display.c: Fix a impllicit warning

svn path=/trunk/; revision=36891
2008-12-15 11:27:01 +00:00
3f0a0b70d5 Restore the code for BONOBO components need by the vcard inline viewer.
2008-12-15  Srinivasa Ragavan  <sragavan@novell.com>


	* em-format-html-display.c: (efhd_bonobo_unknown),
	(efhd_find_handler), (efhd_bonobo_object),
	(efhd_check_server_prop), (efhd_use_component),
	(efhd_format_attachment): Restore the code for BONOBO components need
	by the vcard inline viewer.

svn path=/trunk/; revision=36885
2008-12-15 06:46:13 +00:00
f9f3b67162 Change license from GPL to LGPL
svn path=/trunk/; revision=36381
2008-09-19 06:02:55 +00:00
58d44034c2 ** Fix for bug #493298
2008-09-09  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #493298

	* em-format-html-display.c: (efhd_image): Do not try to access widget
	of the pury when the operation has been cancelled.


svn path=/trunk/; revision=36289
2008-09-09 15:32:31 +00:00
b52cf4cc09 Milan Crha <mcrha@redhat.com> ** Fix for bug #543135 (Write error message to the right stream, do not try to set information message to the message list when it's not visible).
svn path=/trunk/; revision=36240
2008-09-01 04:27:02 +00:00
434bc25ed6 ** Fixes bug #546892
2008-08-11  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #546892

	* e-util/e-icon-factory.c (e_icon_factory_get_image):
	Kill this function.  Use gtk_image_new_from_icon_name().

	* e-util/e-icon-factory.c (e_icon_factory_get_icon_list):
	Kill this function.  Use gtk_window_set_icon_name().

	* widgets/misc/e-activity-handler.c:
	* widgets/misc/e-task-widget.c:
	Purge the GdkPixbuf arguments from the API.  We've been ignoring
	them since the spinner icon was added.

	* addressbook/gui/contact-editor/e-contact-editor-fullname.c:
	* addressbook/gui/contact-editor/e-contact-editor-im.c:
	* addressbook/gui/contact-editor/e-contact-editor-address.c:
	* calendar/gui/alarm-notify/alarm-notify-dialog.c:
	* calendar/gui/dialogs/alarm-dialog.c:
	* calendar/gui/dialogs/alarm-list-dialog.c:
	* calendar/gui/dialogs/cal-attachment-select-file.c:
	* calendar/gui/dialogs/changed-comp.c:
	* calendar/gui/dialogs/delete-error.c:
	* calendar/gui/dialogs/select-source-dialog.c:
	* mail/mail-send-recv.c:
	* mail/message-tag-followup.c:
	* widgets/misc/e-combo-button.c:
	* widgets/misc/e-info-label.c:
	* widgets/misc/e-url-entry.c:
	* widgets/misc/e-task-widget.c:
	Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list().

	* addressbook/gui/contact-editor/e-contact-editor-im.c:
	* calendar/gui/dialogs/event-page.c:
	* calendar/gui/e-timezone-entry.c:
        * e-util/e-gui-utils.c:
        * e-util/e-popup.c:
	* plugins/import-ics-attachments/icsimporter.c:
	* plugins/itip-formatter/itip-view.c:
	* mail/em-folder-browser.c:
	* mail/em-format-html-display.c:
	* mail/mail-send-recv.c:
	* mail/message-tag-followup.c:
	Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image().

	* calendar/gui/alarm-notify/alarm-queue.c:
	* plugins/mail-notification/mail-notification.c:
	Prefer gtk_status_icon_set_from_icon_name() over
	gtk_status_icon_set_from_pixbuf().

	* addressbook/gui/component/addressbook-view.c:
	* calendar/gui/e-calendar-table.c:
	* calendar/gui/e-calendar-view.c:
	* calendar/gui/e-memo-table.c:
	* mail/mail-mt.c:
	e_activity_handler_operation_started() no longer takes a GdkPixbuf.
	It was ignoring the pixbuf anyway ever since we added a spinner icon.


svn path=/trunk/; revision=35958
2008-08-11 17:04:32 +00:00
2aaba13c94 ** Fix for bug #546668
2008-08-06  Paul Bolle  <pebolle@tiscali.nl>

	** Fix for bug #546668

	* mail/em-format-html.c: Drop a (pointless) define used only once.
	* mail/em-format-html-display.c: Drop one unused define.


svn path=/trunk/; revision=35920
2008-08-07 04:16:09 +00:00
6de863cd0e Use CamelDList instead of EDList.
2008-08-07  Matthew Barnes  <mbarnes@redhat.com>

	* em-format.c (emf_format_secure):
	* em-format-html-display.c (efhd_xpkcs7mime_add_cert_table):
	Use CamelDList instead of EDList.


svn path=/trunk/; revision=35919
2008-08-07 04:11:01 +00:00
94c501caf6 fixed copyright notices
svn path=/trunk/; revision=35663
2008-06-20 22:14:15 +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
a1592d02b0 Committing on behalf of Jacob Brown <jeblinux@gmail.com>
2008-06-02  Jacob Brown  <jeblinux@gmail.com>

        ** Fix for bug #529464

svn path=/trunk/; revision=35575
2008-06-02 06:01:57 +00:00
e99e12428d ** Fixes bug #534360
2008-05-22  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #534360

	Migrate from deprecated GtkObject symbols to GObject equivalents.
	Touches over 150 files in all components; too many to list.


svn path=/trunk/; revision=35526
2008-05-22 17:27:48 +00:00
3227032415 ** Fix for bug #531519
2008-05-09  Sankar P  <psankar@novell.com>

	** Fix for bug #531519

	* em-format-html-display.c: (efhd_message_update_bar):
	Evolution crashes on print-preview.

	** Committed on behalf of Srinivasa Ragavan <sragavan@novell.com>



svn path=/trunk/; revision=35486
2008-05-09 08:18:48 +00:00
9598151a10 Patch from Shuai Liu <shuai.liu@sun.com>
2008-04-30  Shuai Liu  <shuai.liu@sun.com>

        ** Fix for bug #530672
           Evolution crashes when viewing pgp-signed message

           * em-format-html-display.c: Modify the array of
           smime_sign_colour from 4 to 5 to ensure the input by
           data-server is right


svn path=/trunk/; revision=35447
2008-04-30 06:38:06 +00:00
7acaf0f527 ** Fix for bug #511337
2008-04-29  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #511337

	* em-format-html.h: (EMFormatHTMLState), (struct _EMFormatHTML):
	* em-format-html.c: (efh_init), (efh_format_done),
	(efh_format_timeout): Track state of the object to recognize
	whether rendering new content or doing nothing.
	* em-format-html-display.c: (efhd_can_process_attachment),
	(efhd_attachment_show), (efhd_attachment_popup),
	(efhd_attachment_image), (efhd_attachment_button):
	Do nothing when EMFormatHTML object's state is RENDERING,
	the puri object instance is not valid anyway.


svn path=/trunk/; revision=35437
2008-04-29 08:35:05 +00:00
2e6ea617fa ** Fix for bug #529247
2008-04-28  Johan Euphrosine  <proppy@aminche.com>

	** Fix for bug #529247

	* em-format-html.h (struct _EMFormatHTML): Add header_colour.

	* em-format-html-display.c (efhd_gtkhtml_realise): Use bg style
	properties for body_colour, fg for header_colour, darken for
	frame_colour, bg for content_colour.

	* em-format-html.c (efh_init), (efh_format_exec), (efh_init),
	(efh_text_plain), (efh_text_enriched), (efh_text_html),
	(efh_message_deliverystatus): Use header_colour for text color of
	the message header, body_colour for background color of the
	message header, text_colour for text color of the message content,
	base_colour for background color of the message content.


svn path=/trunk/; revision=35429
2008-04-28 13:16:48 +00:00
f2eed20374 Compiler warning fix.
2008-04-23  Milan Crha  <mcrha@redhat.com>

	* em-format-html-display.c: (efhd_update_bar):
	Compiler warning fix.


svn path=/trunk/; revision=35412
2008-04-23 09:57:24 +00:00
d48f96dd9f ** Fix for bug #334444
2008-04-20  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #334444

	* em-format-html-display.c: (efhd_attachment_button),
	(efhd_update_bar), (efhd_message_update_bar),
	(efhd_message_add_bar):
	* em-format-html.c: (efh_format_exec):
2008-04-20  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #334444

	* e-attachment-bar.c: (e_attachment_bar_add_attachment_silent),
	(e_attachment_bar_refresh):
	* e-attachment-bar.h:




svn path=/trunk/; revision=35393
2008-04-21 05:11:07 +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
b2574922fa ** Fix for bug #350308
2008-04-03  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #350308

	* em-format-html-display.c: (efhd_gtkhtml_realise): Make colors only
	darker, not lighter. Use black in case someone has too dark theme.


svn path=/trunk/; revision=35316
2008-04-03 13:43:42 +00:00
ca1f7f3328 ** Partial fix for bug #395939
2008-01-24  Milan Crha  <mcrha@redhat.com>

	** Partial fix for bug #395939

	* em-format.c: (emf_inlinepgp_signed):
	* em-format-html-display.c: (efhd_format_optional):
	* em-folder-view.c: (emfv_destroy):
	Memory leak fix.


svn path=/trunk/; revision=34881
2008-01-24 11:44:00 +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
3b1751690a ** Fix for bug #507067
2008-01-10  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #507067

	* em-format-html-display.c: (efhd_get_uri_puri):
	Leak fix and enhanced behavior to return more than one URI separated
	by new line character ('\n'), if possible.
	* em-folder-view.c: (emfv_uri_popup_free): Free item itself too,
	because since now we use new allocated items, not the static one.
	* em-folder-view.c: (emfv_free_em_popup), (emfv_append_menu),
	(emfv_format_popup_event): Merge menus for more URIs and for part too.


svn path=/trunk/; revision=34790
2008-01-10 12:04:00 +00:00
dbe798bd9a ** Fix for bug #317823
2008-01-02  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #317823

	* em-format-html-display.c: (efhd_get_uri_puri):
	New helper function to dig up uri or puri from the GtkHtml.
	If the object is an image, then pass it as puri or uri, depends
	on the source of the image.
	* em-format-html-display.c: (efhd_html_button_press_event),
	(em_format_html_display_popup_menu): Using new helper function.

Note: New API functions in gtkhtml are required.

svn path=/trunk/; revision=34750
2008-01-02 12:35:38 +00:00
e3e9fc8d4a ** Fix for bug #502318
2007-12-11  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #502318

	* em-format-html-display.c: (struct _EMFormatHTMLDisplayPrivate),
	(efhd_search_destroy), (em_format_html_get_search_dialog),
	(em_format_html_display_search), (em_format_html_display_search_with),
	(em_format_html_display_search_close), (efhd_complete):
	Track search dialog activity rather based on flag than on widget
	existence, because the pointer to that widget it still
	there (non-NULL) even after destroy of that widget.


svn path=/trunk/; revision=34689
2007-12-11 12:35:28 +00:00
412f24101f Patch from David Turner <cillian64@googlemail.com>: Fix for bug #446029 (mnemonic conflict in 'Find in Message' feature)
svn path=/trunk/; revision=34647
2007-12-04 15:27:37 +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
8bc7363c66 Fix typo in documentation. Ditto.
2007-10-31  Priit Laes  <plaes@svn.gnome.org>
	
	* em-format-html-display.c: Fix typo in documentation.
	* em-message-browser.c: Ditto.

svn path=/trunk/; revision=34471
2007-10-31 16:46:10 +00:00
19993ca2f0 Warning fixes: - NULL vs. 0 vs FALSE - ANSIfication of function
2007-10-26  Kjartan Maraas  <kmaraas@gnome.org>

	* e-searching-tokenizer.c: (build_trie), (searcher_new),
	(output_token), (output_match), (merge_subpending),
	(searcher_next_token):
	* em-account-editor.c: (em_account_editor_new), (emae_load_text),
	(emae_check_license), (emae_auto_detect), (smime_sign_key_select),
	(smime_encrypt_key_select), (emae_service_url_path_changed),
	(emae_ssl_changed), (emae_service_provider_changed),
	(emae_refresh_providers), (emae_refresh_authtype),
	(emae_setup_service), (emae_identity_page):
	* em-composer-utils.c: (em_utils_send_receipt),
	(generate_account_hash), (em_utils_camel_address_to_destination),
	(reply_get_composer):
	* em-config.c: (em_config_new):
	* em-event.c: (em_event_peek):
	* em-filter-rule.c: (get_widget):
	* em-folder-browser.c: (generate_viewoption_menu),
	(em_folder_browser_show_preview), (get_view_query),
	(vfolder_setup_do), (emfb_search_search_activated),
	(emfb_list_key_press), (emfb_list_built):
	* em-folder-view.c: (em_folder_view_new),
	(emfv_setup_view_instance), (emfv_popup_forward),
	(emp_uri_popup_vfolder_sender), (emp_uri_popup_vfolder_recipient),
	(emfv_enable_menus):
	* em-format-hook.c:
	* em-format-html-display.c: (efhd_attachment_optional):
	* em-format-html.c: (em_format_html_new),
	(em_format_html_add_pobject), (em_format_html_find_pobject),
	(em_format_html_find_pobject_func), (efh_text_enriched),
	(efh_multipart_related), (efh_format_address), (efh_format_header):
	* em-icon-stream.h:
	* em-inline-filter.c: (emif_add_part), (emif_scan):
	* em-junk-hook.c: (emjh_construct_group):
	* em-mailer-prefs.c: (junk_plugin_setup):
	* em-menu.c: (em_menu_new), (em_menu_target_new_select):
	* em-message-browser.c: (em_message_browser_new):
	* em-popup.c: (em_popup_new), (em_popup_target_new_select):
	* em-sync-stream.c:
	* em-utils.c: (em_utils_save_part_to_file), (tag_editor_response),
	(em_utils_read_messages_from_stream), (em_utils_get_proxy_uri),
	(em_utils_in_addressbook):
	* em-vfolder-rule.c: (validate):
	* importers/elm-importer.c:
	* importers/mail-importer.c: (import_mbox_import),
	(import_folders_rec):
	* importers/pine-importer.c:
	* mail-component.c: (setline_done):
	* mail-folder-cache.c: (flush_updates):
	* mail-mt.c: (mail_msg_new), (checkmem), (mail_msg_check_error),
	(mail_msg_cancel), (mail_msg_wait), (mail_msg_init),
	(do_op_status):
	* mail-send-recv.c: (receive_status), (receive_done),
	(refresh_folders_get):
	* mail-vfolder.c: (mail_vfolder_get_sources_local),
	(mail_vfolder_get_sources_remote), (context_rule_added),
	(store_folder_renamed):
	* message-list.c: (e_mail_address_new), (e_mail_address_compare),
	(get_normalised_string), (ml_search_forward), (ml_search_backward),
	(ml_search_path), (message_list_select_uid),
	(thread_select_foreach), (message_list_copy), (ml_duplicate_value),
	(ml_free_value), (ml_initialize_value), (ml_value_is_empty),
	(ml_value_to_string), (subtree_latest), (sanitize_recipients),
	(ml_tree_value_at), (ml_tree_sort_value_at),
	(message_list_init_images), (filter_date), (build_tree),
	(build_flat_diff), (regen_list_regen):

	Warning fixes:
	- NULL vs. 0 vs FALSE
	- ANSIfication of function declarations
	- Remove unused bits
	- use unsigned ints for 1-bit bitfields
	- invalid pointer type
	- mark a global var static
	- mixing code and declarations

svn path=/trunk/; revision=34449
2007-10-29 13:05:42 +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
e7d6ad6d83 ** Move away from g_assert to g_return* calls
svn path=/trunk/; revision=34143
2007-08-31 05:24:51 +00:00
8683d22745 ** Fix for bug #256878 from Vincent Untz
svn path=/trunk/; revision=34110
2007-08-27 05:25:47 +00:00
c1a6b6f8d3 2007-07-26 mcrha Fix for bug #273386
svn path=/trunk/; revision=33846
2007-07-26 09:37:39 +00:00
553e4ff5af Take warning softly instead of a crash
svn path=/trunk/; revision=33799
2007-07-11 07:11:39 +00:00
13d4452306 Fix compilation warnings in mail folder (#437935).
svn path=/trunk/; revision=33628
2007-06-03 02:54:32 +00:00
64977cb1bc Massive code cleanup (bug #429422)
svn path=/trunk/; revision=33432
2007-04-19 18:53:33 +00:00
bb05f6e6d0 ** Fixes bug #423766
2007-04-18  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #423766

	* mail/em-format-html-display.c (attachments_save_all_clicked):
	Call em_utils_save_part() if there's only one attachment to save.

	* mail/em-utils.c (em_utils_save_part):
	Refactor to use gtk_dialog_run() instead of a "response" callback.

	* mail/em-utils.c (em_utils_save_parts):
	Refactor to use gtk_dialog_run() instead of a "response" callback.
	Use gtk_file_chooser_get_uri() to fetch the selected folder.


svn path=/trunk/; revision=33429
2007-04-18 11:09:52 +00:00
7dd3f720c7 Fix a typo.
2007-03-30  Matthew Barnes  <mbarnes@redhat.com>

	* em-format-html-display.c (icon_entry_changed_cb): Fix a typo.


svn path=/trunk/; revision=33347
2007-03-30 18:29:09 +00:00
72f0d0c000 Fix "incompatible pointer type" warnings (#360619).
2007-03-29  Matthew Barnes  <mbarnes@redhat.com>

	* calendar/gui/e-day-view.c:
	* calendar/gui/e-week-view.c:
	* calendar/gui/tasks-control.c:
	* composer/e-msg-composer-select-file.c:
	* mail/em-account-editor.c:
	* mail/em-folder-view.c:
	* mail/em-format-html-display.c:
	* mail/em-format-html.c:
	* mail/em-format.h:
	* mail/em-mailer-prefs.c:
	* mail/em-vfolder-rule.c:
	* mail/mail-ops.c:
	* mail/mail-send-recv.c:
	* mail/message-list.c:
	* plugins/bbdb/gaimbuddies.c:
	* plugins/itip-formatter/itip-formatter.c:
	* plugins/save-calendar/save-calendar.c:
	* shell/e-shell-window.c:
	* widgets/misc/e-icon-entry.c:
	* widgets/table/e-table-header-utils.c:
	* widgets/table/e-table-item.c:
	* widgets/table/e-tree-header-item.c:
	* widgets/table/e-tree-table-adapter.c:
	Fix "incompatible pointer type" warnings (#360619).


svn path=/trunk/; revision=33339
2007-03-29 17:29:46 +00:00
cba3097cad ** Fixes bug #419524
2007-03-20  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #419524

	* Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.

	* e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list):
	* mail/em-migrate.c (emm_setup_initial):
	* shell/e-component-registry.c (query_components):
	* shell/e-shell-settings-dialog.c (load_pages):
	* shell/e-shell-window-commands.c (command_quick_reference):
	* tools/killev.c (main):
	Use g_get_language_names() instead of gnome_i18n_get_language_list().

	* e-util/e-util.c: Remove e_gettext().

	* e-util/Makefile.am: Remove e-i18n.h.


svn path=/trunk/; revision=33319
2007-03-20 17:23:58 +00:00