Commit 161cde75 authored by winckel's avatar winckel

Cleared terminal view before loading or aquiring a new log.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4868 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 58b62709
......@@ -685,6 +685,8 @@ gboolean ui_callback_signal_clear_list(GtkWidget *widget, gpointer data)
ui_signal_dissect_clear_view (ui_main_data.text_view);
}
ui_notebook_terminal_clear();
return TRUE;
}
......
......@@ -16,6 +16,11 @@
static ui_text_view_t *terminal_view;
void ui_notebook_terminal_clear(void)
{
ui_signal_dissect_clear_view(terminal_view);
}
void ui_notebook_terminal_append_data(gchar *text, gint length)
{
ui_signal_set_text(terminal_view, text, length);
......
#ifndef UI_NOTEBOOK_H_
#define UI_NOTEBOOK_H_
void ui_notebook_terminal_clear(void);
int ui_notebook_create(GtkWidget *vbox);
void ui_notebook_terminal_append_data(gchar *text, gint length);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment