aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-table.c6
-rw-r--r--widgets/table/e-table.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 22ea5b0660..2e3efdc05c 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -1500,6 +1500,12 @@ e_table_right_click_up (ETable *table)
e_selection_model_right_click_up(E_SELECTION_MODEL(table->selection));
}
+void
+e_table_commit_click_to_add (ETable *table)
+{
+ e_table_click_to_add_commit(E_TABLE_CLICK_TO_ADD(table->click_to_add));
+}
+
static void
et_get_arg (GtkObject *o, GtkArg *arg, guint arg_id)
{
diff --git a/widgets/table/e-table.h b/widgets/table/e-table.h
index 8824dafd31..9900821eb7 100644
--- a/widgets/table/e-table.h
+++ b/widgets/table/e-table.h
@@ -327,6 +327,8 @@ void e_table_invert_selection (ETable *table)
/* This function is only needed in single_selection_mode. */
void e_table_right_click_up (ETable *table);
+void e_table_commit_click_to_add (ETable *table);
+
END_GNOME_DECLS
#endif /* _E_TABLE_H_ */