Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
dev:xfdesktop:port-to-gio-progress [2010/10/22 13:14] – 217.229.126.137 | dev:xfdesktop:port-to-gio-progress [2010/10/24 17:46] – 217.229.124.132 | ||
---|---|---|---|
Line 23: | Line 23: | ||
==== xfdesktop-file-icon-manager.{c, | ==== xfdesktop-file-icon-manager.{c, | ||
- | |||
- | === xfdesktop_file_icon_create_file_error() === | ||
- | |||
- | Remove this function. | ||
=== xfdesktop_file_icon_interactive_job_ask() === | === xfdesktop_file_icon_interactive_job_ask() === | ||
Remove this function. | Remove this function. | ||
- | |||
- | === xfdesktop_file_icon_template_item_activated() === | ||
- | |||
- | TODO: This needs more thought. Thunar implements the same functionality, | ||
- | maybe we can reuse its implementation through D-Bus. If not, then at least | ||
- | the ThunarVFS stuff should be replaced with '' | ||
- | calls to '' | ||
- | be replaced with Thunar D-Bus method calls. | ||
- | |||
- | === info_compare() === | ||
- | |||
- | If this is still needed after the other refactorings, | ||
- | '' | ||
- | |||
- | === xfdesktop_file_icon_menu_fill_template_menu() === | ||
- | |||
- | Use '' | ||
- | ThunarVFS structures. Maybe we can reuse some code from Thunar implementing | ||
- | the same thing. | ||
- | |||
- | === xfdesktop_file_icon_manager_populate_context_menu() === | ||
- | |||
- | Use '' | ||
- | |||
- | === xfdesktop_file_icon_manager_add_icon() === | ||
- | |||
- | Use '' | ||
- | |||
- | === xfdesktop_file_icon_manager_add_regular_icon() === | ||
- | |||
- | Use '' | ||
- | '' | ||
=== xfdesktop_file_icon_manager_add_volume_icon() === | === xfdesktop_file_icon_manager_add_volume_icon() === | ||
Line 106: | Line 70: | ||
Get rid of the global '' | Get rid of the global '' | ||
- | |||
- | We'll have to change the '' | ||
- | to a '' | ||
- | '' | ||
- | if the '' | ||
=== xfdesktop_file_icon_manager_fini() === | === xfdesktop_file_icon_manager_fini() === | ||
Line 179: | Line 138: | ||
Replace the '' | Replace the '' | ||
- | |||
- | === xfdesktop_regular_file_icon_peek_info() === | ||
- | |||
- | Return a '' | ||
- | |||
- | === xfdesktop_regular_file_icon_update_info() === | ||
- | |||
- | TODO: Replace the '' | ||
- | to add a '' | ||
- | |||
- | === xfdesktop_delete_regular_file_finished() === | ||
- | |||
- | Remove. | ||
- | |||
- | === xfdesktop_regular_file_icon_finalize() === | ||
- | |||
- | Call '' | ||
- | new '' | ||
- | |||
- | === xfdesktop_regular_file_icon_tfi_init() === | ||
- | |||
- | Update this to Thunarx 2. Need to set '' | ||
- | and '' | ||
=== xfdesktop_regular_file_icon_peek_pixbuf() === | === xfdesktop_regular_file_icon_peek_pixbuf() === | ||
Line 250: | Line 186: | ||
Here we can simply rewrite the code to use '' | Here we can simply rewrite the code to use '' | ||
- | |||
- | === xfdesktop_delete_file_error() === | ||
- | |||
- | Remove. | ||
- | |||
- | === xfdesktop_delete_file_finished() === | ||
- | |||
- | Remove. | ||
- | |||
- | === xfdesktop_regular_file_icon_delete_file() === | ||
- | |||
- | Instead of '' | ||
- | and forget. | ||
=== xfdesktop_regular_file_icon_peek_info() === | === xfdesktop_regular_file_icon_peek_info() === | ||
Change the return type to '' | Change the return type to '' | ||
- | |||
- | === xfdesktop_regular_file_icon_update_info() === | ||
- | |||
- | TODO: Check how and where this function is being used and what we can do in order | ||
- | to replace the '' | ||
- | |||
- | === xfdesktop_regular_file_icon_new() === | ||
- | |||
- | Add a '' | ||
- | '' | ||
==== xfdesktop_special_file_icon.{c, | ==== xfdesktop_special_file_icon.{c, |