changeset 10911:1012f463d2b9

[gaim-migrate @ 12665] Add the full local file path to the file transfer details section. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 13 May 2005 01:04:08 +0000
parents d8b0b9c5ffd7
children dcbc56eb3f37
files src/gtkft.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkft.c	Fri May 13 00:10:54 2005 +0000
+++ b/src/gtkft.c	Fri May 13 01:04:08 2005 +0000
@@ -64,6 +64,7 @@
 	GtkWidget *remote_user_label;
 	GtkWidget *protocol_label;
 	GtkWidget *filename_label;
+	GtkWidget *localfile_label;
 	GtkWidget *status_label;
 	GtkWidget *speed_label;
 	GtkWidget *time_elapsed_label;
@@ -244,6 +245,9 @@
 		g_free(tmp);
 	}
 
+	gtk_label_set_text(GTK_LABEL(dialog->localfile_label),
+			gaim_xfer_get_local_filename(xfer));
+
 	gtk_label_set_text(GTK_LABEL(dialog->status_label), status);
 
 	gtk_label_set_text(GTK_LABEL(dialog->speed_label), kbsec);
@@ -551,8 +555,9 @@
 	{
 		{ &dialog->local_user_desc_label, &dialog->local_user_label, NULL },
 		{ &dialog->remote_user_desc_label, &dialog->remote_user_label, NULL },
-		{ &label, &dialog->protocol_label,		 _("Protocol:") },
+		{ &label, &dialog->protocol_label,       _("Protocol:") },
 		{ &label, &dialog->filename_label,       _("Filename:") },
+		{ &label, &dialog->localfile_label,      _("Local File:") },
 		{ &label, &dialog->status_label,         _("Status:") },
 		{ &label, &dialog->speed_label,          _("Speed:") },
 		{ &label, &dialog->time_elapsed_label,   _("Time Elapsed:") },