diff options
Diffstat (limited to 'thunar/thunar-dbus-service.c')
-rw-r--r-- | thunar/thunar-dbus-service.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/thunar/thunar-dbus-service.c b/thunar/thunar-dbus-service.c index 30eba1bc..15060dc9 100644 --- a/thunar/thunar-dbus-service.c +++ b/thunar/thunar-dbus-service.c @@ -232,7 +232,7 @@ thunar_dbus_service_class_init (ThunarDBusServiceClass *klass) gobject_class->finalize = thunar_dbus_service_finalize; /* install the D-BUS info for our class */ - dbus_g_object_type_install_info (G_TYPE_FROM_CLASS (klass), + dbus_g_object_type_install_info (G_TYPE_FROM_CLASS (klass), &dbus_glib_thunar_dbus_service_object_info); /** @@ -401,7 +401,7 @@ thunar_dbus_service_trash_bin_changed (ThunarDBusService *dbus_service, _thunar_return_if_fail (THUNAR_IS_FILE (trash_bin)); /* emit the "trash-changed" signal with the new state */ - g_signal_emit_by_name (G_OBJECT (dbus_service), "trash-changed", + g_signal_emit_by_name (G_OBJECT (dbus_service), "trash-changed", thunar_file_get_item_count (trash_bin) > 0); } @@ -1023,13 +1023,13 @@ thunar_dbus_service_transfer_files (ThunarDBusTransferMode transfer_mode, /* verify that at least one file to transfer is given */ if (source_filenames == NULL || *source_filenames == NULL) { - g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_INVAL, + g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_INVAL, _("At least one source filename must be specified")); return FALSE; } /* verify that the target filename is set / enough target filenames are given */ - if (transfer_mode == THUNAR_DBUS_TRANSFER_MODE_COPY_TO) + if (transfer_mode == THUNAR_DBUS_TRANSFER_MODE_COPY_TO) { if (g_strv_length ((gchar **)source_filenames) != g_strv_length ((gchar **)target_filenames)) { @@ -1097,23 +1097,23 @@ thunar_dbus_service_transfer_files (ThunarDBusTransferMode transfer_mode, switch (transfer_mode) { case THUNAR_DBUS_TRANSFER_MODE_COPY_TO: - thunar_application_copy_to (application, screen, - source_file_list, target_file_list, + thunar_application_copy_to (application, screen, + source_file_list, target_file_list, NULL); break; case THUNAR_DBUS_TRANSFER_MODE_COPY_INTO: - thunar_application_copy_into (application, screen, - source_file_list, target_file_list->data, + thunar_application_copy_into (application, screen, + source_file_list, target_file_list->data, NULL); break; case THUNAR_DBUS_TRANSFER_MODE_MOVE_INTO: - thunar_application_move_into (application, screen, - source_file_list, target_file_list->data, + thunar_application_move_into (application, screen, + source_file_list, target_file_list->data, NULL); break; case THUNAR_DBUS_TRANSFER_MODE_LINK_INTO: - thunar_application_link_into (application, screen, - source_file_list, target_file_list->data, + thunar_application_link_into (application, screen, + source_file_list, target_file_list->data, NULL); break; } |