comparison src/gtkft.c @ 10654:f2e86683cafc

[gaim-migrate @ 12182] sf patch #1152664, from Richard Laager This patches does three things: First, it uses aliases in file transfer messages whenever possible. Second, it fixes the case where file transfer completion messages are not showing for MSN. Third, it makes the wording more consistent: Canceled is used to describe cases when the file transfer was actively canceled by either party. Failed is used otherwise. Aborted is no longer used at all. Previously, aborted was used in some places while failed was used under the same circumstances in other places. Also, in the file transfer box, canceled was used in one place for remotely or locally canceled files while in another place in the same box canceled was only used for locally canceled files (failed was used for remotely canceled files). committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 06 Mar 2005 00:23:54 +0000
parents 9cb601a1fcfa
children 1012f463d2b9
comparison
equal deleted inserted replaced
10653:20cbadb004a0 10654:f2e86683cafc
911 911
912 pixbuf = gtk_widget_render_icon(dialog->window, 912 pixbuf = gtk_widget_render_icon(dialog->window,
913 GAIM_STOCK_FILE_CANCELED, 913 GAIM_STOCK_FILE_CANCELED,
914 GTK_ICON_SIZE_MENU, NULL); 914 GTK_ICON_SIZE_MENU, NULL);
915 915
916 if (gaim_xfer_get_status(xfer) == GAIM_XFER_STATUS_CANCEL_LOCAL) 916 if (gaim_xfer_is_canceled(xfer))
917 status = _("Canceled"); 917 status = _("Canceled");
918 else 918 else
919 status = _("Failed"); 919 status = _("Failed");
920 920
921 gtk_list_store_set(dialog->model, &data->iter, 921 gtk_list_store_set(dialog->model, &data->iter,