Changeset 10991
- Timestamp:
- Jul 10, 2010, 10:05:11 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/main.c
r10955 r10991 306 306 } 307 307 308 static void309 refreshActions( struct cbdata *data )308 static gboolean 309 refreshActions( gpointer gdata ) 310 310 { 311 311 int canUpdate; 312 312 struct counts_data counts; 313 struct cbdata * data = gdata; 313 314 GtkTreeSelection * s = data->sel; 314 315 … … 345 346 action_sensitize( "start-all-torrents", active != total ); 346 347 } 348 349 return FALSE; 347 350 } 348 351 … … 350 353 selectionChangedCB( GtkTreeSelection * s UNUSED, gpointer data ) 351 354 { 352 refreshActions(data );355 gtr_idle_add( refreshActions, data ); 353 356 } 354 357
Note: See TracChangeset
for help on using the changeset viewer.