projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix typo
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
lttvwindow
/
lttvwindow
/
callbacks.c
diff --git
a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c
b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c
index 3a1eac2c7cff6f4c237fb5c923fe72902949c707..d313a006f6a0eda33b9650517eddb80a12cbdd7f 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c
+++ b/
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c
@@
-928,6
+928,8
@@
gboolean lttvwindow_process_pending_requests(Tab *tab)
guint count;
LttvTracesetContextPosition *end_position;
guint count;
LttvTracesetContextPosition *end_position;
+ if(lttvwindow_preempt_count > 0) return TRUE;
+
if(tab == NULL) {
g_critical("Foreground processing : tab does not exist. Processing removed.");
return FALSE;
if(tab == NULL) {
g_critical("Foreground processing : tab does not exist. Processing removed.");
return FALSE;
@@
-2168,6
+2170,7
@@
void stop_processing(GtkWidget *widget, gpointer user_data)
g_slist_remove_link(tab->events_requests, remove_iter);
}
tab->events_request_pending = FALSE;
g_slist_remove_link(tab->events_requests, remove_iter);
}
tab->events_request_pending = FALSE;
+ tab->stop_foreground = TRUE;
g_idle_remove_by_data(tab);
g_assert(g_slist_length(tab->events_requests) == 0);
}
g_idle_remove_by_data(tab);
g_assert(g_slist_length(tab->events_requests) == 0);
}
@@
-4771,6
+4774,8
@@
void init_tab(Tab *tab, MainWindow * mw, Tab *copy_tab,
/* Start with empty events requests list */
tab->events_requests = NULL;
tab->events_request_pending = FALSE;
/* Start with empty events requests list */
tab->events_requests = NULL;
tab->events_request_pending = FALSE;
+ tab->stop_foreground = FALSE;
+
g_signal_connect(G_OBJECT(tab->scrollbar), "value-changed",
g_signal_connect(G_OBJECT(tab->scrollbar), "value-changed",
@@
-4889,7
+4894,7
@@
void create_main_window_with_trace_list(GSList *traces)
GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
- "Cannot open trace : maybe you should enter in the directory"
+ "Cannot open trace : maybe you should enter in the directory
"
"to select it ?");
gtk_dialog_run(GTK_DIALOG(dialogue));
gtk_widget_destroy(dialogue);
"to select it ?");
gtk_dialog_run(GTK_DIALOG(dialogue));
gtk_widget_destroy(dialogue);
This page took
0.024103 seconds
and
4
git commands to generate.