aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-attachment-bar.c
Commit message (Collapse)AuthorAgeFilesLines
* Miscellaneous stuff.Matthew Barnes2009-01-271-101/+0
| | | | svn path=/branches/kill-bonobo/; revision=37134
* Continue chipping away at EMFolderView and EMFolderBrowser.Matthew Barnes2009-01-111-8/+2
| | | | | | Migrate from gnome_url_show() to e_show_uri(). svn path=/branches/kill-bonobo/; revision=37038
* Merge revisions 36811:36865 from trunk.Matthew Barnes2008-12-111-1/+2
| | | | svn path=/branches/kill-bonobo/; revision=36867
* Merge revisions 36016:36533 from trunk.Matthew Barnes2008-10-021-16/+16
| | | | svn path=/branches/kill-bonobo/; revision=36534
* ** Fixes bug #549968Matthew Barnes2008-08-311-1/+1
| | | | | | | | | | | | | | 2008-08-30 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #549968 * calendar/gui/dialogs/comp-editor.c (comp_editor_init): * widgets/misc/e-attachment-bar.c (e_attachment_bar_bonobo_ui_populate_with): Use the same mnemonic for "Recent Documents" as composer. svn path=/branches/kill-bonobo/; revision=36226
* ** Fix for bug #542631Paolo Borelli2008-07-131-34/+1
| | | | | | | | | | | | 2008-07-12 Paolo Borelli <pborelli@katamail.com> ** Fix for bug #542631 * e-attachment-bar.c: use g_format_size_for_display instead of cut and pasted code. svn path=/trunk/; revision=35740
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Fix for bug #340683Milan Crha2008-06-101-48/+158
| | | | | | | | | | | | | 2008-06-10 Milan Crha <mcrha@redhat.com> ** Fix for bug #340683 * e-attachment-bar.c: (get_system_thumbnail), (scale_pixbuf), (e_attachment_bar_create_attachment_cache), (update): Allow creating thumbnails of non-pictures with a gnome's thumbnailer. svn path=/trunk/; revision=35624
* ** Fixes part of bug #424744Matthew Barnes2008-05-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 2008-05-06 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #424744 * configure.in: Bump eds_minimum_version to 2.23.2 for camel-iconv.h. * composer/e-composer-private.c: * composer/e-composer-private.h: * composer/e-msg-composer.c: * mail/em-composer-prefs.c: * mail/em-format-html.c: * mail/em-format-quote.c: * mail/em-mailer-prefs.c: * widgets/misc/e-attachment-bar.c: * widgets/misc/e-unicode.c: Use camel-iconv.c instead of e-iconv.h (now deprecated). svn path=/trunk/; revision=35474
* ** Fix for bug #334444Srinivasa Ragavan2008-04-211-0/+21
| | | | | | | | | | | | | | | | | | | | | | | 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
* ** Fix for bug #526741 (gnome-vfs to gio/gvfs port)Milan Crha2008-04-181-8/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove some unused variables.Matthew Barnes2008-04-141-1/+1
| | | | | | | | | | | | | | 2008-04-14 Matthew Barnes <mbarnes@redhat.com> * composer/e-composer-autosave.c (e_composer_autosave_unregister): Remove some unused variables. * widgets/misc/e-attachment-bar.c (e_attachment_bar_bonobo_ui_populate_with_recent): Fix a compiler warning. svn path=/trunk/; revision=35365
* Fix for bug #517134 : Extend the 'Insert' menu (in editors) to show a ↵Suman Manjunath2008-04-121-1/+158
| | | | | | | | | | | | | | | | | | | | "Recent Documents" submenu (to quickly add them as attachments). M configure.in M ChangeLog M composer/evolution-composer.ui M composer/ChangeLog M composer/e-composer-actions.c M composer/e-composer-private.c M widgets/misc/ChangeLog M widgets/misc/e-attachment-bar.c M widgets/misc/e-attachment-bar.h M calendar/gui/dialogs/comp-editor.c M calendar/ChangeLog M ui/ChangeLog M ui/evolution-editor.xml svn path=/trunk/; revision=35354
* ** Fix for bug #488213Milan Crha2008-01-121-3/+2
| | | | | | | | | | | | | | | | | | | | | | | 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
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-176/+176
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* 2007-09-26 mcrha Fix for bug #423401Milan Crha2007-09-261-4/+6
| | | | svn path=/trunk/; revision=34310
* ** Fixes bug #476040Matthew Barnes2007-09-131-4/+2
| | | | | | | | | | | | | | | | | | | | 2007-09-12 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #476040 * calendar/gui/e-day-view.c: * calendar/gui/e-week-view.c: * calendar/gui/dialogs/comp-editor.c: * composer/e-msg-composer.c: * composer/e-msg-composer-attachment-bar.c: * mail/em-folder-browser.c: * mail/message-list.c: * widgets/misc/e-attachment-bar.c: Use "mail-attachment" icon instead of "stock_attach". Use "mail-attachment" icon for unknown attachment types. svn path=/trunk/; revision=34240
* 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/+7
| | | | svn path=/trunk/; revision=34017
* ** Fix for bug #429234Srinivasa Ragavan2007-08-061-0/+1
| | | | svn path=/trunk/; revision=33955
* 2007-08-03 mcrha Fix for bug #335566Milan Crha2007-08-031-0/+8
| | | | svn path=/trunk/; revision=33941
* Emit "changed" signal. (#434981)Matthew Barnes2007-05-041-0/+2
| | | | | | | | | | | 2007-05-03 Matthew Barnes <mbarnes@redhat.com> * widgets/misc/e-attachment-bar.c (e_attachment_bar_remove_selected): Emit "changed" signal. (#434981) svn path=/trunk/; revision=33478
* ** 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
* ** Fixes bug #357492 put the attachment pointes into a temporary array.Parthasarathi Susarla2006-11-151-4/+9
| | | | | | | | | | | | | 2006-11-03 Parthasarathi Susarla <ajaysusarla@gmail.com> ** Fixes bug #357492 * e-attachment-bar.c: (e_attachment_bar_remove_selected): put the attachment pointes into a temporary array. Free the pointers and the array after going thru the entire list This prevents a crash and also fixes the issue of only few attachments getting deleted. svn path=/trunk/; revision=32981
* ** Fixes bug #341474 patch from UshveenSrinivasa Ragavan2006-09-291-19/+4
| | | | | | | | | | | 2006-09-29 Srinivasa Ragavan <sragavan@novell.com> ** Fixes bug #341474 patch from Ushveen * e-attachment-bar.c: (size_to_string): Use gnome_vfs_format_file_size_for_display instead of manual calculations. svn path=/trunk/; revision=32820
* ** Fixes bug #347238Srinivasa Ragavan2006-08-231-4/+7
| | | | svn path=/trunk/; revision=32636
* Fix for bug #341482Srinivasa Ragavan2006-08-101-3/+3
| | | | svn path=/trunk/; revision=32522
* Call update (bar); the rest of the fix for bug #178631.Jeffrey Stedfast2006-06-091-1/+3
| | | | | | | | | 2006-06-08 Jeffrey Stedfast <fejj@novell.com> * e-attachment-bar.c (attachment_destroy): Call update (bar); the rest of the fix for bug #178631. svn path=/trunk/; revision=32099
* Fix compilation by adding missing (Thomas Vander Stichele2006-05-281-1/+1
| | | | | | | * widgets/misc/e-attachment-bar.c: (update): Fix compilation by adding missing ( svn path=/trunk/; revision=32046
* Fix for Novell bug #178631Jeffrey Stedfast2006-05-271-350/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-4/+4
| | | | svn path=/trunk/; revision=32024
* Added code to create image attachment's icon in non-gui thread.Srinivasa Ragavan2006-04-221-0/+60
| | | | svn path=/trunk/; revision=31859
* Fixes bug #332140 Changed to transfer filenames from utf-8 to glibSimon Zheng2006-03-061-4/+6
| | | | | | | | | | | 2006-03-06 Simon Zheng <simon.zheng@sun.com> Fixes bug #332140 * e-attachment-bar.c: (temp_save_part): Changed to transfer filenames from utf-8 to glib encoding before really saving files. svn path=/trunk/; revision=31664
* Tons of cleanups of the following sort: - remove unused vars - removeKjartan Maraas2006-01-301-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 e_util_mkdir_hier() instead of e_mkdir_hier().Simon Zheng2006-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-10 Simon Zheng <simon.zheng@sun.com> * menus/gal-view-instance.c: * misc/e-attachment-bar.c: * misc/e-calendar-item.c: * misc/e-dateedit.c: Use e_util_mkdir_hier() instead of e_mkdir_hier(). Use e_util_strstrcase() instead of e_strstrcasea(). use e_strfime() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. use e_filename_make_safe() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. use e_utf8_strftime() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. svn path=/trunk/; revision=31122
* Fix a division-by-zero error crasher. (Update: when in doubt, protect withHarish Krishnaswamy2005-11-171-2/+2
| | | | | | | | | | 2005-11-17 Harish Krishnaswamy <kharish@novell.com> * e-attachment-bar.c: (update), (e_attachment_bar_set_width): Fix a division-by-zero error crasher. (Update: when in doubt, protect with parenthesis :-)) svn path=/trunk/; revision=30631
* Fix a division-by-zero error crasherHarish Krishnaswamy2005-11-171-0/+2
| | | | svn path=/trunk/; revision=30630
* Added a function to get all attachments of the attachment bar for pluginSrinivasa Ragavan2005-11-161-0/+23
| | | | | | | | | | 2005-11-15 Srinivasa Ragavan <sragavan@novell.com> * e-attachment-bar.[ch] (e_attachment_bar_get_all_attachments): Added a function to get all attachments of the attachment bar for plugin purposes. svn path=/trunk/; revision=30620
* gtk_pixbuf_add_alpha returns a newly allocated pixbuf, so, free theVeerapuram Varadhan2005-10-041-1/+7
| | | | | | | * e-attachment-bar.c (update): gtk_pixbuf_add_alpha returns a newly allocated pixbuf, so, free the original one. svn path=/trunk/; revision=30487
* Fix for bug #314136. Shows filename in the remote download in composer.Srinivasa Ragavan2005-08-241-4/+9
| | | | | | | | | | | | | | | | | | 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-7/+58
| | | | | | | | | | | | | | | | | 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
* Fix for bug #312545Srinivasa Ragavan2005-08-161-2/+6
| | | | | | | | | 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
* Added a function to force refresh/resize the icons.Srinivasa Ragavan2005-08-111-0/+6
| | | | | | | | | 2005-08-11 Srinivasa Ragavan <sragavan@novell.com> * e-attachment-bar.[ch] (e_attachment_bar_refresh): Added a function to force refresh/resize the icons. svn path=/trunk/; revision=30082
* escape the "%" character correctly.David Malcolm2005-08-031-1/+1
| | | | | | * e-attachment-bar.c: (update_remote_file): escape the "%" character correctly. svn path=/trunk/; revision=29959
* Void function should not return value.Mengjie Yu2005-07-291-2/+4
| | | | | | | | | | | 2005-07-28 Mengjie Yu <meng-jie.yu@sun.com> * misc/e-attachment-bar.c: (update_remote_file): Void function should not return value. Fixes #311837 svn path=/trunk/; revision=29924
* Added checks for the parameters.Srinivasa Ragavan2005-07-251-0/+26
| | | | | | | | | | | 2005-07-25 Srinivasa Ragavan <sragavan@novell.com> * e-attachment-bar,c: (e_attachment_bar_remove_selected) (e_attachment_bar_edit_selected) (e_attachment_bar_get_attachment) (e_attachment_bar_get_parts) (e_attachment_bar_get_download_count) (e_attachment_bar_attach_remote_file): Added checks for the parameters. svn path=/trunk/; revision=29874
* Cleaned up most of it. Added the DnD.Srinivasa Ragavan2005-07-201-121/+269
| | | | | | | | | | | | | | | 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/+934
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