projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added interrupts plugin
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
detailedevents
/
events.c
diff --git
a/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c
b/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c
index df3fc2170cb3e7b433087db1b55f7873d5819256..53684d28c2c844da86393ed274dcec7514c91cfe 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/detailedevents/events.c
+++ b/
ltt/branches/poly/lttv/modules/gui/detailedevents/events.c
@@
-562,7
+562,8
@@
static void request_background_data(EventViewerData *event_viewer_data)
* starts.
*/
if(!lttvwindowtraces_background_request_find(trace, "state"))
* starts.
*/
if(!lttvwindowtraces_background_request_find(trace, "state"))
- lttvwindowtraces_background_request_queue(trace, "state");
+ lttvwindowtraces_background_request_queue(
+ main_window_get_widget(event_viewer_data->tab), trace, "state");
lttvwindowtraces_background_notify_queue(event_viewer_data,
trace,
ltt_time_infinite,
lttvwindowtraces_background_notify_queue(event_viewer_data,
trace,
ltt_time_infinite,
@@
-646,7
+647,6
@@
void tree_v_get_cursor(EventViewerData *event_viewer_data)
#endif //0
}
#endif //0
}
-
/* Filter out the key repeats that come too fast */
static gboolean key_handler(GtkWidget *widget, GdkEventKey *event,
gpointer user_data)
/* Filter out the key repeats that come too fast */
static gboolean key_handler(GtkWidget *widget, GdkEventKey *event,
gpointer user_data)
@@
-656,7
+656,7
@@
static gboolean key_handler(GtkWidget *widget, GdkEventKey *event,
g_debug("event time : %u , last time : %u", event->time,
evd->last_tree_update_time);
g_debug("event time : %u , last time : %u", event->time,
evd->last_tree_update_time);
- if(
event->time < evd->last_tree_update_time
)
+ if(
guint32_before(event->time, evd->last_tree_update_time)
)
return TRUE;
else
return FALSE;
return TRUE;
else
return FALSE;
@@
-687,6
+687,9
@@
void tree_v_move_cursor_cb (GtkWidget *widget,
//indices = gtk_tree_path_get_indices(path);
//value = gtk_adjustment_get_value(event_viewer_data->vadjust_c);
//indices = gtk_tree_path_get_indices(path);
//value = gtk_adjustment_get_value(event_viewer_data->vadjust_c);
+
+ /* If events request pending, do nothing*/
+ if(lttvwindow_events_request_pending(event_viewer_data->tab)) return;
/* If no prior position... */
if(ltt_time_compare(
/* If no prior position... */
if(ltt_time_compare(
This page took
0.022901 seconds
and
4
git commands to generate.