aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-attachment.c
Commit message (Collapse)AuthorAgeFilesLines
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-1/+1
|
* Whitespace cleanups.Matthew Barnes2012-05-131-2/+2
|
* Bug #674062 - Runtime warning from e_attachment_load_handle_error()Milan Crha2012-04-241-2/+4
|
* Bug #600860 - Opening IMAP message with large attachment blocks UIMilan Crha2012-04-131-7/+27
|
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-5/+9
|
* Port misc widgets to use GSettingsRodrigo Moya2011-10-131-8/+6
|
* Prefer g_simple_async_result_take_error().Matthew Barnes2011-10-061-10/+5
| | | | | | | | | Slightly more efficient and convenient than: g_simple_async_result_set_from_error (simple, error); g_error_free (error); One less GError to copy and destroy.
* Coding style and whitespace cleanup.Matthew Barnes2011-09-041-1/+2
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-1/+4
|
* Coding style and whitespace cleanup.Matthew Barnes2011-03-061-1/+2
|
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-7/+3
|
* Bug #623593 - Cannot drag&drop attached messages from mailsMilan Crha2011-02-231-7/+30
|
* Adapt to Camel API changes.Matthew Barnes2010-09-281-5/+6
|
* Bug 628154 - Ignore paths in MIME part filenamesMatthew Barnes2010-08-281-1/+4
|
* GObject boilerplate cleanup.Matthew Barnes2010-08-251-32/+8
| | | | | | | Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over manual GType registration. This is just a start... lots more to do.
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-4/+4
|
* Use an appropriate icon when dragging attachments.Matthew Barnes2010-06-231-1/+36
|
* Adapt to Camel API changes.Matthew Barnes2010-05-081-2/+2
| | | | | This also removes the boxed CamelObject GType, since CamelObject is an honest-to-goodness GObject now.
* Camel is now GObject-based.Matthew Barnes2010-04-241-13/+13
|
* Adapt to Camel API changes.Matthew Barnes2010-04-041-10/+12
|
* Only #include Camel's top-level header.Matthew Barnes2010-04-031-8/+0
|
* Fix a misspelled icon name.Matthew Barnes2010-03-041-1/+1
|
* Filtering out g_chmod on windows because it makes no sense thereFridrich Strba2010-03-031-0/+2
|
* Revise some comments in e-attachment.c.Matthew Barnes2010-01-291-6/+6
|
* Bug 607234 - Open received attachments as read-onlyMatthew Barnes2010-01-191-0/+18
|
* Coding style and whitespace cleanup.Matthew Barnes2010-01-041-1/+1
|
* Bug 361145 - Evolution hangs when formatting message - fixes part of it.Chenthill Palanisamy2009-12-281-11/+5
|
* Coding style and whitespace cleanup.Matthew Barnes2009-12-261-13/+20
|
* Bug #591938 - Update translator's commentsMilan Crha2009-12-101-0/+4
|
* Fix some details in our asynchronous functions.Matthew Barnes2009-11-211-31/+7
| | | | | | | | | | Don't unref the GAsyncResult in finish functions. Do it after calling g_simple_async_result_complete(). This allows the GAsyncReadyCallback to be optional, and we'll still clean up resources properly. Also, don't call g_simple_async_result_complete_in_idle() unless we're completing an operation from a separate thread, which we're not in any of the current cases.
* Bug #601218 - Accepted meeting doesn't show attachments in calendar viewMilan Crha2009-11-101-3/+3
|
* Fix return types to match the type of functionKjartan Maraas2009-08-271-2/+2
|
* Coding style and whitespace cleanups.Matthew Barnes2009-08-091-1/+1
|
* Add a FIXME comment to e-attachment.cMatthew Barnes2009-08-041-0/+2
|
* Bug #580895 - Kill libgnomeui/gnome-thumbnail.hMilan Crha2009-08-041-0/+50
|
* Compiler warning fixes (as part of bug #424078)Milan Crha2009-07-281-1/+1
|
* Bug 585554 – Opening PDF attachment crashes in ↵Matthew Barnes2009-06-131-30/+17
| | | | e_attachment_open_handle_error()
* Fix a runtime warning for zero-length attachments.Matthew Barnes2009-06-091-4/+8
|
* Whoops, forgot to remove a debug message.Matthew Barnes2009-06-041-2/+0
|
* Bug 572543 – Doesn't show correct application for pdf attachmentsMatthew Barnes2009-06-041-3/+9
| | | | | | This fix got dropped in the attachment rewrite. Also, ignore the application's NoDisplay setting when building the "open with" menu. That's mainly so "Document Viewer" shows up in the list.
* Remove trailing whitespace, again.Matthew Barnes2009-05-291-1/+1
|
* Bug 582144 – Evolution not showing proper attachment filenameMatthew Barnes2009-05-131-8/+10
|
* Bug 440919 – Evolution can't attach "zero length" filesMatthew Barnes2009-05-131-0/+10
|
* Bump the required GLib and GTK+ versions to latest stable.Matthew Barnes2009-05-011-4/+0
| | | | | We now require GLib >= 2.20 and GTK+ >= 2.16. Also removed all GLIB_CHECK_VERSION and GTK_CHECK_VERSION workarounds for older versions.
* Commit the rest of the attachment UI rewriteMatthew Barnes2009-04-281-615/+2406
| | | | | Oops, last commit only included the -new- files. This also removes EExpander, which is no longer used.
* ** Fix for bug #554418Milan Crha2008-10-011-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-10-01 Milan Crha <mcrha@redhat.com> ** Fix for bug #554418 * e-util/e-util.h: (e_util_guess_mime_type): * e-util/e-util.c: (e_util_guess_mime_type): Guess mime_type based on the file content only when permitted by the caller, otherwise check based on the filename only, where it fallbacks if file content guess fails. * mail/em-utils.c: (em_utils_snoop_type): * mail/em-popup.c: (emp_standard_menu_factory): Guess mime_type based on the filename only. * composer/e-msg-composer.c: (handle_uri), (e_msg_composer_add_inline_image_from_file): Guess mime_type based on the file content, if failed, then on the filename. * widgets/misc/e-attachment.c: (attachment_guess_mime_type): Allow guessing mime_type based on the file content. * calendar/gui/dialogs/comp-editor.c: (set_attachment_list): * calendar/gui/e-cal-popup.c: (ecalp_standard_menu_factory): Allow/disallow guessing of the mime_type based on the file content. svn path=/trunk/; revision=36529
* License ChangesSankarasivasubramanian Pasupathilingam2008-08-271-16/+17
| | | | svn path=/trunk/; revision=36116
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* Fix build breakage. Apparently <gtk/gtk.h> only recently startedMatthew Barnes2008-06-071-0/+1
| | | | | | | pulling in <gio/gio.h>. We still need to include gio.h explicitly for a little while longer. svn path=/trunk/; revision=35607
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-7/+0
| | | | | | | | | | 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
* ** Fixes bug #534360Matthew Barnes2008-05-231-4/+1
| | | | | | | | | | | | 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
* ** Fix for bug #526741 (gnome-vfs to gio/gvfs port)Milan Crha2008-04-181-120/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ** Fix for bug #460204Milan Crha2008-03-131-0/+11
| | | | | | | | | | | | | 2008-03-13 Milan Crha <mcrha@redhat.com> ** Fix for bug #460204 * e-attachment.c: (attachment_guess_mime_type): Check whether found mime type is valid before returning it. My thanks come to Effenberg whom helped me to debug it. svn path=/trunk/; revision=35184
* ** Fix for bug #249501Milan Crha2008-02-081-0/+15
| | | | | | | | | | | | | 2008-02-07 Milan Crha <mcrha@redhat.com> ** Fix for bug #249501 * e-attachment.c: (attachment_guess_mime_type): gnome_vfs_get_file_info expects URI, thus if file_name contains '%' it failed. svn path=/trunk/; revision=34971
* Patch by Jean-Christophe BEGUE to fix bug #329692.Jeffrey Stedfast2008-01-121-1/+1
| | | | | | | | | | | | | 2008-01-11 Jeffrey Stedfast <fejj@novell.com> Patch by Jean-Christophe BEGUE to fix bug #329692. * e-attachment.c (e_attachment_new_from_mime_part): Get the content size of the MIME part by calling the new camel_mime_part_get_content_size() function. svn path=/trunk/; revision=34802
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-78/+78
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* 2007-10-01 mcrha Fix for bug #413420Milan Crha2007-10-011-1/+50
| | | | svn path=/trunk/; revision=34340
* 2007-09-26 mcrha Fix for bug #423401Milan Crha2007-09-261-3/+22
| | | | svn path=/trunk/; revision=34310
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 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-08-16 mcrha Part of fix for bug #350539Milan Crha2007-08-161-1/+1
| | | | svn path=/trunk/; revision=34017
* ** Fix for bug #451599Srinivasa Ragavan2007-08-031-1/+1
| | | | svn path=/trunk/; revision=33940
* ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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
* Fix for bug #341482Srinivasa Ragavan2006-08-101-2/+2
| | | | svn path=/trunk/; revision=32522
* Fix for Novell bug #178631Jeffrey Stedfast2006-05-271-122/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-05-26 Jeffrey Stedfast <fejj@novell.com> Fix for Novell bug #178631 * e-attachment-bar.c: Changed the EAttachmentBarPrivate struct, we no longer use a linked list, instead we use a GPtrArray - faster, simpler (plus all the code used indexes anyway, so it was really bizarre). (free_attachment_list): Removed. (attachment_destroy): New GWeakNotify callback for when an EAttachment object gets destroyed. Remove the attachment from the attachments array. (add_common): Updated to add to an array rather than a linked list. Also weak_ref the attachment object. (remove_attachment): Removed. (update): Updated to use the array instead of linked list of attachments. (e_attachment_bar_remove_selected): Same. (e_attachment_bar_set_width): Same. (e_attachment_bar_edit_selected): Same. (e_attachment_bar_get_selected): Same. (e_attachment_bar_get_attachment): Same. (e_attachment_bar_get_all_attachments): Same and also optimised since we can cheat now without having to g_slist_reverse. (e_attachment_bar_get_parts): Same. (destroy): Same. (eab_drag_data_get): Same. (init): Init attachments to a g_ptr_array_new (e_attachment_bar_to_multipart): Updated to use the attachments array. (e_attachment_bar_get_num_attachments): Updated to return the attachments->len. (e_attachment_bar_get_download_count): Updated to use the array. * e-attachment.c (finalise): Close the editor dialog if it is open. (async_progress_update_cb): If the phase is COMPLETE but the file_size is 0, then treat it as an error. In the error case, unref the attachment object (this will magically remove it from the EAttachmentBar). (close_cb): Don't unref the attachment object here anymore. (e_attachment_edit): Don't ref the EAttachment anymore. svn path=/trunk/; revision=32042
* Added support for saving/attaching files/events/mails from/to remote sharesSrinivasa Ragavan2006-05-251-2/+7
| | | | svn path=/trunk/; revision=32024
* Tons of cleanups of the following sort: - remove unused vars - removeKjartan Maraas2006-01-301-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-30 Kjartan Maraas <kmaraas@gnome.org> * e-timezone-dialog/e-timezone-dialog.c: (get_zone_from_point): * menus/gal-view-menus.c: * misc/e-attachment-bar.c: (calculate_height_width), (update_remote_file), (e_attachment_bar_get_attachment), (class_init): * misc/e-attachment.c: (async_progress_update_cb), (download_to_local_path): * misc/e-calendar-item.c: (e_calendar_item_get_arg), (e_calendar_item_realize), (e_calendar_item_ensure_days_visible): * misc/e-calendar.c: (e_calendar_drag_motion), (e_calendar_drag_leave), (e_calendar_focus): * misc/e-canvas-background.c: (ecb_get_property): * misc/e-canvas.c: (e_canvas_class_init), (pick_current_item): * misc/e-cell-date-edit.c: (e_cell_date_edit_do_popup), (e_cell_date_edit_show_popup): * misc/e-cell-percent.c: * misc/e-charset-picker.c: (e_charset_picker_bonobo_ui_populate): * misc/e-config-page.c: (e_config_page_class_init): * misc/e-dateedit.c: (e_date_edit_set_date), (e_date_edit_set_date_and_time_of_day), (on_date_popup_date_selected): * misc/e-dropdown-button.c: (e_dropdown_button_class_init): * misc/e-expander.c: (get_expander_bounds), (e_expander_expose), (is_in_expander_panel): * misc/e-filter-bar.c: (option_changed), (build_items): * misc/e-image-chooser.c: (e_image_chooser_init), (image_drag_data_received_cb): * misc/e-map.c: (e_map_size_allocate), (e_map_button_press), (e_map_button_release), (e_map_motion), (e_map_zoom_to_location), (e_map_zoom_out), (update_render_point), (repaint_point), (zoom_in_smooth): * misc/e-multi-config-dialog.c: (impl_response): * misc/e-reflow.c: (e_reflow_realize), (e_reflow_event): * misc/e-search-bar.c: (clear_search), (search_now_verb_cb), (entry_activated_cb), (activate_button_clicked_cb), (clear_button_clicked_cb): * misc/e-selection-model.c: (e_selection_model_key_press): * misc/e-send-options.c: (delay_until_date_changed_cb), (e_sendoptions_get_need_general_options): * misc/e-unicode.c: (e_stripped_char): * table/e-cell-progress.c: (eprog_draw_border), (eprog_draw), (eprog_event): * table/e-cell-spin-button.c: (ecsb_event), (ecsb_focus), (ecsb_unfocus), (ecsb_dispose): * table/e-cell-text.c: (ect_draw), (ect_show_tooltip): * table/e-cell-toggle.c: (etog_draw), (etog_event): * table/e-cell-tree.c: (ect_max_width): * table/e-cell-vbox.c: * table/e-table-click-to-add.c: (etcta_event): * table/e-table-config.c: (create_global_store): * table/e-table-field-chooser-dialog.c: * table/e-table-field-chooser-item.c: (etfci_find_button), (etfci_reflow), (etfci_get_property), (etfci_realize): * table/e-table-field-chooser.c: (e_table_field_chooser_class_init): * table/e-table-group-container.c: (etgc_unrealize): * table/e-table-group.c: (e_table_group_new): * table/e-table-header-item.c: (e_table_header_item_get_height), (ethi_realize), (ethi_event): * table/e-table-header-utils.c: (e_table_draw_elided_string), (e_table_header_draw_button): * table/e-table-item.c: (eti_set_property), (eti_get_property), (eti_draw), (eti_event), (eti_cursor_change): * table/e-table-scrolled.c: (e_table_scrolled_class_init): * table/e-table-search.c: * table/e-table-sort-info.c: (e_table_sort_info_save_to_node): * table/e-table.c: (table_canvas_reflow_idle), (table_canvas_size_allocate), (canvas_vbox_event), (click_to_add_event), (do_drag_motion), (e_table_class_init): * table/e-tree-scrolled.c: (e_tree_scrolled_class_init): * table/e-tree.c: (tree_canvas_reflow_idle), (tree_canvas_size_allocate), (e_tree_drag_get_data), (do_drag_motion), (e_tree_class_init): * text/e-text.c: (e_text_set_property), (e_text_draw), (_do_tooltip), (primary_clear_cb), (_get_position), (e_text_command): Tons of cleanups of the following sort: - remove unused vars - remove extraneous semi-colons - add some comments where assignments were done without using the results later - remove break; statements after return foo; - add casts in some places to be more type correct - rename variables with name clashes - s/if/ifdef in some cases - mark some code static - remove some unused functions - use guint for 1-bit bitfields svn path=/trunk/; revision=31371
* Use gstdio wrappers. Construct glade file name at run-time.Tor Lillqvist2005-12-181-3/+26
| | | | | | | | | 2005-12-18 Tor Lillqvist <tml@novell.com> * e-attachment.c: Use gstdio wrappers. Construct glade file name at run-time. svn path=/trunk/; revision=30864
* Fix for bug #314136. Shows filename in the remote download in composer.Srinivasa Ragavan2005-08-241-2/+1
| | | | | | | | | | | | | | | | | | 2005-08-24 Srinivasa Ragavan <sragavan@novell.com> * e-attachment.c (e_attachment_build_remote_file): Fix for bug #314136. Shows filename in the remote download in composer. * e-attachment-bar.c (update): Better space management. Kills one extra row that happens some times. (e_attachment_bar_set_width): Just adjusts the size instead of rebuild of the bar, which is the cause for the freeze. Fixes the bug #313799. Remove the function e_attachment_bar_refresh * e-attachment-bar.h: Remove the function e_attachment_bar_refresh svn path=/trunk/; revision=30234
* Use camel_url to construct url (eab_icon_clicked_cb)Srinivasa Ragavan2005-08-191-6/+14
| | | | | | | | | | | | | | | | | 2005-08-17 Srinivasa Ragavan <sragavan@novell.com> * e-attachment-bar.c eab_drag_data_get: Use camel_url to construct url (eab_icon_clicked_cb) (e_attachment_bar_new): Fixed part of bug #312224. It handles double click on a attachment icon and calls gnome_url_show. * e-attachment.[ch] (finalise) (init): Add a new member to preserve the stored location (e_attachment_new)(e_attachment_build_remote_file): Camel_url to construct urls svn path=/trunk/; revision=30160
* Fixed few warningsSrinivasa Ragavan2005-08-161-2/+2
| | | | | | | | | 2005-08-16 Srinivasa Ragavan <sragavan@novell.com> * e-attachment.c (download_to_local_path) (e_attachment_edit): Fixed few warnings svn path=/trunk/; revision=30128
* Fix for bug #312545Srinivasa Ragavan2005-08-161-17/+11
| | | | | | | | | 2005-08-16 Srinivasa Ragavan <sragavan@novell.com> * mail/em-format-html-display.c: * widgets/misc/e-attachment*.c: Fix for bug #312545 svn path=/trunk/; revision=30126
* used ref instead of copying the entire mime part. Also commitedSrinivasa Ragavan2005-07-291-20/+2
| | | | | | | | | | 2005-07-29 Srinivasa Ragavan <sragavan@novell.com> * e-attachment.c: (e_attachment_new_from_mime_part) used ref instead of copying the entire mime part. Also commited (2005-07-15 Diego Gonzalez <diego@pemas.net>) patch svn path=/trunk/; revision=29921
* Cleaned up most of it. Added the DnD.Srinivasa Ragavan2005-07-201-7/+120
| | | | | | | | | | | | | | | 2005-07-20 Srinivasa Ragavan <sragavan@novell.com> * e-attachment-bar.[ch]:(remove_attachment) (update) (e_attachment_bar_get_selector) (e_attachment_bar_get_attachment) (destroy) (init) (e_attachment_bar_new) (e_attachment_bar_add_attachment) (e_attachment_bar_attach_remote_file) Cleaned up most of it. Added the DnD. * e-attachment.[ch]: (real_changed) (class_init) (init) (e_attachment_new) (e_attachment_new_remote_file) (e_attachment_build_remote_file): Moved the remote download code from bar to here and few cleanups. svn path=/trunk/; revision=29813
* Added gnome-vfs-module-2.0 to E_WIDGET_CFLAGS. Added e-attachment-bar.[ch]Srinivasa Ragavan2005-07-111-0/+639
2005-07-11 Srinivasa Ragavan <sragavan@novell.com> * configure.in: Added gnome-vfs-module-2.0 to E_WIDGET_CFLAGS. * Added e-attachment-bar.[ch] e-attachment.[ch] e-attachment.glade to directory structure and the Makefile.am svn path=/trunk/; revision=29708