forked from osmocom/wireshark
"Create" the time cols when we render them making change of time format fast.
svn path=/trunk/; revision=29200
This commit is contained in:
parent
3bbe2106c5
commit
f79c2aaeb7
1 changed files with 5 additions and 0 deletions
|
@ -391,9 +391,14 @@ show_cell_data_func(GtkTreeViewColumn *col _U_, GtkCellRenderer *renderer,
|
|||
GdkColor bg_gdk;
|
||||
gchar *cell_text;
|
||||
|
||||
if (col_has_time_fmt(&cfile.cinfo, col_num)) {
|
||||
col_set_fmt_time(fdata, &cfile.cinfo, cfile.cinfo.col_fmt[col_num], col_num);
|
||||
cell_text = g_strdup(cfile.cinfo.col_data[col_num]);
|
||||
}else{
|
||||
gtk_tree_model_get(model, iter,
|
||||
col_num, &cell_text,
|
||||
-1);
|
||||
}
|
||||
|
||||
if(fdata->color_filter){
|
||||
color_filter = fdata->color_filter;
|
||||
|
|
Loading…
Reference in a new issue