set_time_window updates horizontal scroll bar
[lttv.git] / ltt / branches / poly / lttv / modules / gui / API / gtkTraceSet.c
index ec71b69d678705a6d213c0eaab290e25d5ed5fac..4105bf1f7c4e0bb5d1c241f89409337886a9415c 100644 (file)
@@ -230,6 +230,9 @@ void set_time_window(MainWindow *main_win, TimeWindow *time_window)
   LttvAttributeValue value;
   LttvHooks * tmp;
   main_win->current_tab->time_window = *time_window;
+  gtk_multi_vpaned_set_scroll_value(main_win->current_tab->multi_vpaned,
+                                   ltt_time_to_double(time_window->start_time)
+                                   * NANOSECONDS_PER_SECOND );
   g_assert(lttv_iattribute_find_by_path(main_win->current_tab->attributes,
                       "hooks/updatetimewindow", LTTV_POINTER, &value));
   tmp = (LttvHooks*)*(value.v_pointer);
This page took 0.02253 seconds and 4 git commands to generate.