Diff of /trunk/src/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 248 by harbaum, Tue Jan 19 20:26:37 2010 UTC revision 249 by harbaum, Thu Jan 21 21:18:33 2010 UTC
# Line 412  static void cachelist_update_reset1(GtkA Line 412  static void cachelist_update_reset1(GtkA
412  static gboolean on_cachelist_focus_in(GtkWidget *widget, GdkEventFocus *event,  static gboolean on_cachelist_focus_in(GtkWidget *widget, GdkEventFocus *event,
413                                        gpointer data) {                                        gpointer data) {
414    
   
415    /* we don't want a runnign timer yet */    /* we don't want a runnign timer yet */
416    if(!g_object_get_data(G_OBJECT(data), "handler_id")) {    if(!g_object_get_data(G_OBJECT(data), "handler_id")) {
417      printf("focus received: restarting cachelist timer\n");      printf("focus received: restarting cachelist timer\n");
# Line 423  static gboolean on_cachelist_focus_in(Gt Line 422  static gboolean on_cachelist_focus_in(Gt
422    
423      g_object_set_data(G_OBJECT(data), "handler_id", (gpointer)      g_object_set_data(G_OBJECT(data), "handler_id", (gpointer)
424        gtk_timeout_add(CACHELIST_UPDATE_TIMEOUT, cachelist_update, data));        gtk_timeout_add(CACHELIST_UPDATE_TIMEOUT, cachelist_update, data));
425    
426        /* and redo list immediately */
427        cachelist_redraw(appdata);
428    }    }
429    
430    return FALSE;    return FALSE;

Legend:
Removed from v.248  
changed lines
  Added in v.249