aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/upload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/upload.c')
-rw-r--r--src/plugins/fs/upload.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/plugins/fs/upload.c b/src/plugins/fs/upload.c
index 8607fe88..034bc6f8 100644
--- a/src/plugins/fs/upload.c
+++ b/src/plugins/fs/upload.c
@@ -482,6 +482,7 @@ void fs_upload_start() {
482 GtkWidget * uploadEntry; 482 GtkWidget * uploadEntry;
483 GtkCellRenderer * renderer; 483 GtkCellRenderer * renderer;
484 GtkListStore * model; 484 GtkListStore * model;
485 int col;
485 486
486 uploadList = glade_xml_get_widget(getMainXML(), 487 uploadList = glade_xml_get_widget(getMainXML(),
487 "activeUploadsList"); 488 "activeUploadsList");
@@ -493,21 +494,26 @@ void fs_upload_start() {
493 gtk_tree_view_set_model(GTK_TREE_VIEW(uploadList), 494 gtk_tree_view_set_model(GTK_TREE_VIEW(uploadList),
494 GTK_TREE_MODEL(summary)); 495 GTK_TREE_MODEL(summary));
495 renderer = gtk_cell_renderer_progress_new(); 496 renderer = gtk_cell_renderer_progress_new();
496 gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(uploadList), 497 col = gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(uploadList),
497 -1, 498 -1,
498 _("Filename"), 499 _("Filename"),
499 renderer, 500 renderer,
500 "text", UPLOAD_FILENAME, 501 "text", UPLOAD_FILENAME,
501 "value", UPLOAD_PROGRESS, 502 "value", UPLOAD_PROGRESS,
502 NULL); 503 NULL);
504 gtk_tree_view_column_set_resizable(gtk_tree_view_get_column(GTK_TREE_VIEW(uploadList),
505 col - 1),
506 TRUE);
503 renderer = gtk_cell_renderer_text_new(); 507 renderer = gtk_cell_renderer_text_new();
504 gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(uploadList), 508 col = gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(uploadList),
505 -1, 509 -1,
506 _("URI"), 510 _("URI"),
507 renderer, 511 renderer,
508 "text", UPLOAD_URISTRING, 512 "text", UPLOAD_URISTRING,
509 NULL); 513 NULL);
510 514 gtk_tree_view_column_set_resizable(gtk_tree_view_get_column(GTK_TREE_VIEW(uploadList),
515 col - 1),
516 TRUE);
511 517
512 uploadEntry 518 uploadEntry
513 = glade_xml_get_widget(getMainXML(), 519 = glade_xml_get_widget(getMainXML(),