diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-ft-manager.c | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/src/empathy-ft-manager.c b/src/empathy-ft-manager.c index 9dab21dba..b37917503 100644 --- a/src/empathy-ft-manager.c +++ b/src/empathy-ft-manager.c @@ -153,29 +153,6 @@ ft_manager_update_buttons (EmpathyFTManager *manager) gtk_widget_set_sensitive (priv->abort_button, abort_enabled); } -#if 0 -static const gchar * -ft_manager_state_change_reason_to_string (TpFileTransferStateChangeReason reason) -{ - switch (reason) - { - case TP_FILE_TRANSFER_STATE_CHANGE_REASON_NONE: - return _("No reason was specified"); - case TP_FILE_TRANSFER_STATE_CHANGE_REASON_REQUESTED: - return _("The change in state was requested"); - case TP_FILE_TRANSFER_STATE_CHANGE_REASON_LOCAL_STOPPED: - return _("You canceled the file transfer"); - case TP_FILE_TRANSFER_STATE_CHANGE_REASON_REMOTE_STOPPED: - return _("The other participant canceled the file transfer"); - case TP_FILE_TRANSFER_STATE_CHANGE_REASON_LOCAL_ERROR: - return _("Error while trying to transfer the file"); - case TP_FILE_TRANSFER_STATE_CHANGE_REASON_REMOTE_ERROR: - return _("The other participant is unable to transfer the file"); - } - return _("Unknown reason"); -} -#endif - static void ft_manager_selection_changed (GtkTreeSelection *selection, EmpathyFTManager *manager) @@ -1071,4 +1048,4 @@ empathy_ft_manager_display_error (EmpathyFTManager *manager, ft_manager_add_handler_to_list (manager, handler, error); gtk_window_present (GTK_WINDOW (priv->window)); -}
\ No newline at end of file +} |