X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=aoview%2Faoview_table.c;h=b3fc6a47c133925d181fbd0e19ff95e343f91d2f;hb=refs%2Ftags%2F0.3;hp=90deeb91353489ce7528ec6cf09e0a2116791e3f;hpb=be3f4fed7b863c8cdaabe32b61b65a8b3cd11355;p=fw%2Faltos diff --git a/aoview/aoview_table.c b/aoview/aoview_table.c index 90deeb91..b3fc6a47 100644 --- a/aoview/aoview_table.c +++ b/aoview/aoview_table.c @@ -51,12 +51,18 @@ aoview_table_finish(void) gtk_tree_view_columns_autosize(dataview); } +void +aoview_table_clear(void) +{ + gtk_tree_view_set_model(dataview, NULL); +} + void aoview_table_init(GladeXML *xml) { dataview = GTK_TREE_VIEW(glade_xml_get_widget(xml, "dataview")); assert(dataview); - aoview_add_plain_text_column(dataview, "Field", 0, 16); + aoview_add_plain_text_column(dataview, "Field", 0, 20); aoview_add_plain_text_column(dataview, "Value", 1, 32); }