//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(
}
+
+/**
+ * Function to see if there are events request pending.
+ *
+ * It tells if events requests are pending. Useful for checks in some events,
+ * i.e. detailed event list scrolling.
+ *
+ * @param tab the tab the viewer belongs to.
+ * @param viewer a pointer to the viewer data structure
+ * @return : TRUE is events requests are pending, else FALSE.
+ */
+
+gboolean lttvwindow_events_request_pending(Tab *tab)
+{
+ GSList *element = tab->events_requests;
+
+ if(element == NULL) return FALSE;
+ else return TRUE;
+}
+
+
+
+
/**
* Function to get the current time interval shown on the current tab.
* It will be called by a viewer's hook function to update the
gconstpointer viewer);
+/**
+ * Function to see if there are events request pending.
+ *
+ * It tells if events requests are pending. Useful for checks in some events,
+ * i.e. detailed event list scrolling.
+ *
+ * @param tab the tab the viewer belongs to.
+ * @param viewer a pointer to the viewer data structure
+ * @return : TRUE is events requests are pending, else FALSE.
+ */
+
+gboolean lttvwindow_events_request_pending(Tab *tab);
+
+
+
+
/**
* Function to get the current time interval shown on the current tab.
* It will be called by a viewer's hook function to update the