Changeset 3799


Ignore:
Timestamp:
Nov 11, 2007, 8:38:59 PM (14 years ago)
Author:
charles
Message:

clear the gtk+ gui before calling tr_close()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r3771 r3799  
    443443    }
    444444
    445     /* freeze the gui */
    446     if( cbdata->wind )
    447         gtk_widget_set_sensitive( GTK_WIDGET( cbdata->wind ), FALSE );
     445    /* clear the UI */
     446    gtk_list_store_clear( GTK_LIST_STORE( tr_core_model( cbdata->core ) ) );
     447    gtk_widget_set_sensitive( GTK_WIDGET( cbdata->wind ), FALSE );
    448448
    449449    /* shut down libT */
Note: See TracChangeset for help on using the changeset viewer.