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/18 15:00] – 217.229.80.161 | dev:xfdesktop:port-to-gio-progress [2010/10/21 00:08] – 217.229.125.71 | ||
---|---|---|---|
Line 6: | Line 6: | ||
Calls '' | Calls '' | ||
- | |||
- | ==== xfce-desktop.c ==== | ||
- | |||
- | === xfce_desktop_setup_icon_view() === | ||
- | |||
- | Use a '' | ||
- | Pass the '' | ||
==== xfdesktop-file-icon.{c, | ==== xfdesktop-file-icon.{c, | ||
Line 47: | Line 40: | ||
Replace '' | Replace '' | ||
and '' | and '' | ||
- | |||
- | === xfdesktop_file_icon_create_directory_error() === | ||
- | |||
- | Remove this function. We'll create directories through the Thunar D-Bus API. We'll | ||
- | probably have to add another D-Bus method for creating directories. | ||
=== xfdesktop_file_icon_menu_create_launcher() === | === xfdesktop_file_icon_menu_create_launcher() === | ||
Line 60: | Line 48: | ||
xfce4-panel/ | xfce4-panel/ | ||
this. | this. | ||
- | |||
- | === xfdesktop_file_icon_menu_create_folder() === | ||
- | |||
- | Create the directory using a new Thunar D-Bus method instead of implementing | ||
- | this feature in xfdesktop internally. We'll have to create the D-Bus method | ||
- | first. It should be called '' | ||
- | type parameter). Need to think about this a bit more. | ||
=== xfdesktop_file_icon_create_file_error() === | === xfdesktop_file_icon_create_file_error() === | ||
Line 113: | Line 94: | ||
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 187: | Line 145: | ||
The counterpart to the previous function. Same deal. | The counterpart to the previous function. Same deal. | ||
- | |||
- | === xfdesktop_file_icon_manager_drag_drop() === | ||
- | |||
- | Use ''' | ||
- | can then be determined with '' | ||
- | |||
- | Use '' | ||
- | instead of '' | ||
=== xfdesktop_file_icon_manager_drag_data_received() === | === xfdesktop_file_icon_manager_drag_data_received() === | ||
Line 212: | Line 162: | ||
The code block dealing with jobs needs to be reworked around '' | The code block dealing with jobs needs to be reworked around '' | ||
and the Thunar D-Bus API completely. Maybe danielm' | and the Thunar D-Bus API completely. Maybe danielm' | ||
- | |||
- | === xfdesktop_file_icon_manager_new() === | ||
- | |||
- | Change the '' | ||
=== _XfdesktopFileIconManagerPrivate === | === _XfdesktopFileIconManagerPrivate === | ||
- | |||
- | Change the '' | ||
Replace the '' | Replace the '' | ||
Line 225: | Line 169: | ||
Remove the '' | Remove the '' | ||
- | |||
- | === xfdesktop_file_icon_manager_class_init() === | ||
- | |||
- | Alter the " | ||
- | using the '' | ||
- | |||
- | === xfdesktop_file_icon_manager_set_property() === | ||
- | |||
- | Change the " | ||
- | type made in the class_init function. | ||
- | |||
- | === xfdesktop_file_icon_manager_get_property() === | ||
- | |||
- | Same here, see above. | ||
- | |||
- | === xfdesktop_file_icon_manager_finalize() === | ||
- | |||
- | Use '' | ||
- | |||
- | === xfdesktop_file_icon_manager_check_create_desktop_folder() === | ||
- | |||
- | Replace the code with something similar based on '' | ||
- | '' | ||
==== xfdesktop-file-properties-dialog.{c, | ==== xfdesktop-file-properties-dialog.{c, | ||
Remove entirely. We'll re-use Thunar' | Remove entirely. We'll re-use Thunar' | ||
+ | |||
==== xfdesktop-file-utils.{c, | ==== xfdesktop-file-utils.{c, | ||