Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dev:xfdesktop:port-to-gio-progress [2010/10/19 13:22] – 217.229.78.181 | dev:xfdesktop:port-to-gio-progress [2010/10/22 13:39] – 217.229.126.137 | ||
---|---|---|---|
Line 23: | Line 23: | ||
==== xfdesktop-file-icon-manager.{c, | ==== xfdesktop-file-icon-manager.{c, | ||
- | |||
- | === xfdesktop_file_icon_menu_mime_app_executed() === | ||
- | |||
- | Use '' | ||
- | instead of '' | ||
- | before and after this call (similar to how Thunar does it). | ||
- | |||
- | === xfdesktop_menu_item_from_mime_handler() === | ||
- | |||
- | Replace this method with a similar one based on '' | ||
- | '' | ||
- | |||
- | === xfdesktop_file_icon_menu_other_app() === | ||
- | |||
- | Again, we only need the '' | ||
- | Replace '' | ||
- | and '' | ||
- | |||
- | === xfdesktop_file_icon_menu_create_launcher() === | ||
- | |||
- | Use a '' | ||
- | the file URI. Feed exo-desktop-item-edit with the URI instead of a local path. | ||
- | The function '' | ||
- | xfce4-panel/ | ||
- | this. | ||
=== xfdesktop_file_icon_create_file_error() === | === xfdesktop_file_icon_create_file_error() === | ||
Line 79: | Line 54: | ||
Use '' | Use '' | ||
- | Use '' | ||
- | '' | ||
=== xfdesktop_file_icon_manager_add_icon() === | === xfdesktop_file_icon_manager_add_icon() === | ||
Line 94: | Line 67: | ||
Use '' | Use '' | ||
- | |||
- | === xfdesktop_file_icon_manager_vfs_monitor_cb() === | ||
- | |||
- | Replace this with a monitor callback for '' | ||
- | |||
- | === xfdesktop_file_icon_manager_listdir_infos_ready_cb() === | ||
- | |||
- | This function will have to be replaced with something similar because we | ||
- | cannot use the list dir job from ThunarVfsJob anymore. | ||
- | |||
- | === xfdesktop_file_icon_manager_listdir_finished_cb() === | ||
- | |||
- | This function will have to be replaced with something similar because we | ||
- | cannot use the list dir job from ThunarVfsJob anymore. | ||
- | |||
- | === xfdesktop_file_icon_manager_listdir_error_cb() === | ||
- | |||
- | This function will have to be replaced with something similar because we | ||
- | cannot use the list dir job from ThunarVfsJob anymore. | ||
- | |||
- | === xfdesktop_file_icon_manager_load_desktop_folder() === | ||
- | |||
- | Asynchronously load the folder using '' | ||
=== xfdesktop_file_icon_manager_volume_changed() === | === xfdesktop_file_icon_manager_volume_changed() === | ||
Line 155: | Line 105: | ||
=== xfdesktop_file_icon_manager_real_init() === | === xfdesktop_file_icon_manager_real_init() === | ||
- | Get rid of the '' | + | Get rid of the global '' |
- | The hash table needs to use either URIs or '' | + | |
- | and equal functions for them. URIs are easier due to the availability of string | + | |
- | hash and equal functions, I guess. | + | |
We'll have to change the '' | We'll have to change the '' | ||
Line 190: | Line 137: | ||
Replace the '' | Replace the '' | ||
the '' | the '' | ||
- | |||
- | Remove the '' | ||
==== xfdesktop-file-properties-dialog.{c, | ==== xfdesktop-file-properties-dialog.{c, | ||
Line 243: | Line 188: | ||
TODO: Replace the '' | TODO: Replace the '' | ||
to add a '' | to add a '' | ||
- | |||
- | === xfdesktop_delete_regular_file_finished() === | ||
- | |||
- | Remove. | ||
=== xfdesktop_regular_file_icon_finalize() === | === xfdesktop_regular_file_icon_finalize() === | ||
Line 305: | Line 246: | ||
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_rename_file() === | ||
- | |||
- | See previous function. | ||
=== xfdesktop_regular_file_icon_peek_info() === | === xfdesktop_regular_file_icon_peek_info() === |