Changeset 10 for trunk/gtk


Ignore:
Timestamp:
Jan 12, 2006, 6:45:41 PM (16 years ago)
Author:
root
Message:

Update 2005-12-01

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r7 r10  
    473473  free(st);
    474474
     475  /* remove any excess rows */
     476  if(gtk_tree_model_iter_next(GTK_TREE_MODEL(data->model), &iter))
     477    while(gtk_list_store_remove(data->model, &iter))
     478      ;
     479
    475480  return TRUE;
    476481}
     
    593598        free(sb);
    594599        tr_torrentClose(data->tr, index);
    595         gtk_list_store_remove(GTK_LIST_STORE(model), &iter);
    596600        savetorrents(data->tr, data->wind, -1, NULL);
     601        updatemodel(data);
    597602        break;
    598603      case ACT_INFO:
Note: See TracChangeset for help on using the changeset viewer.