summaryrefslogtreecommitdiff
path: root/aoview/aoview_table.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-05-17 01:29:06 -0700
committerKeith Packard <keithp@keithp.com>2009-05-17 01:29:06 -0700
commit1234694eb903b204488ddc7cb30bcfe34bf1e677 (patch)
treebedd82fba6f84e7cdcc95a586184b37de5949a23 /aoview/aoview_table.c
parent4316b6af86b37522038e642235c163fcaad52e96 (diff)
Clear table, reset log on disconnect
Diffstat (limited to 'aoview/aoview_table.c')
-rw-r--r--aoview/aoview_table.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/aoview/aoview_table.c b/aoview/aoview_table.c
index e55f8f50..b3fc6a47 100644
--- a/aoview/aoview_table.c
+++ b/aoview/aoview_table.c
@@ -52,6 +52,12 @@ aoview_table_finish(void)
}
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"));