From c57de49bb5d65df1fa0d63285b296397be3af6f8 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sat, 10 Jun 2000 21:16:45 +0000 Subject: Added $(GNOME_PRINT_LIBS) to all of the LDADDs. 2000-06-10 Christopher James Lahey * Makefile.am: Added $(GNOME_PRINT_LIBS) to all of the LDADDs. * e-cell-text.c: Added printing of text cells. * e-cell.c, e-cell.h: Added print and print_height methods. * e-table-field-chooser.glade: Added a minimum size. * e-table-group-container.c: Fixed a rectangle sizing bug. * e-table-group-leaf.c: Implemented get_printable. * e-table-group.c, e-table-group.h: Added a get_printable method to return an EPrintable. * e-table-item.c, e-table-item.h: Added a get_printable function to return an EPrintable. * e-table.c, e-table.h: Added a get_printable function to return an EPrintable. svn path=/trunk/; revision=3511 --- widgets/e-table/e-table-group-leaf.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'widgets/e-table/e-table-group-leaf.c') diff --git a/widgets/e-table/e-table-group-leaf.c b/widgets/e-table/e-table-group-leaf.c index 25819bb188..0845f93695 100644 --- a/widgets/e-table/e-table-group-leaf.c +++ b/widgets/e-table/e-table-group-leaf.c @@ -245,6 +245,13 @@ etgl_get_focus_column (ETableGroup *etg) return e_table_item_get_focused_column (etgl->item); } +static EPrintable * +etgl_get_printable (ETableGroup *etg) +{ + ETableGroupLeaf *etgl = E_TABLE_GROUP_LEAF (etg); + return e_table_item_get_printable (etgl->item); +} + static void etgl_set_arg (GtkObject *object, GtkArg *arg, guint arg_id) { @@ -356,6 +363,7 @@ etgl_class_init (GtkObjectClass *object_class) e_group_class->unfocus = etgl_unfocus; e_group_class->get_selected_view_row = etgl_get_selected_view_row; e_group_class->get_focus_column = etgl_get_focus_column; + e_group_class->get_printable = etgl_get_printable; gtk_object_add_arg_type ("ETableGroupLeaf::drawgrid", GTK_TYPE_BOOL, GTK_ARG_WRITABLE, ARG_TABLE_DRAW_GRID); -- cgit v1.2.3