fix temporarily current time selection by disabling looking into loaded buffer :...
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 30 Aug 2004 15:40:28 +0000 (15:40 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 30 Aug 2004 15:40:28 +0000 (15:40 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@835 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/detailedevents/events.c

index c6be6a015c7b2260c49a2b014dcb0217cf951c4e..b3c8d5d85af4849db1100266ba4da9bd0a1509b6 100644 (file)
@@ -1336,7 +1336,7 @@ gboolean update_current_time(void * hook_data, void * call_data)
     list = event_viewer_data->event_fields_queue->head;
     data = (EventFields*)g_list_nth_data(list,0);
     data1 = (EventFields*)g_list_nth_data(list,event_viewer_data->event_fields_queue->length-1);
-
+#if 0
     //the event is in the buffer
     if(ltt_time_compare(data->time, *current_time)<=0 &&
        ltt_time_compare(data1->time, *current_time)>=0){
@@ -1367,10 +1367,11 @@ gboolean update_current_time(void * hook_data, void * call_data)
       //gtk_adjustment_value_changed(event_viewer_data->vadjust_c);
 
     }else{//the event is not in the buffer
+#endif //0
       LttTime start = ltt_time_sub(*current_time, time_span.start_time);
       double position = ltt_time_to_double(start);
       gtk_adjustment_set_value(event_viewer_data->vadjust_c, position);
-    }
+    //}
   }
 
   sprintf(str_path,"%d",count);
This page took 0.026726 seconds and 4 git commands to generate.