From 1fc93f47b89b1fc9fab19a48291a1129d979b50e Mon Sep 17 00:00:00 2001 From: Vladimir Vukicevic Date: Thu, 1 Mar 2001 07:43:37 +0000 Subject: Added new ECellPixbuf -- takes a GdkPixbuf from the model and renders it * e-table-extras.c: Added new ECellPixbuf -- takes a GdkPixbuf from the model and renders it centered in the table cell. svn path=/trunk/; revision=8441 --- widgets/table/e-table-extras.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widgets/table/e-table-extras.c') diff --git a/widgets/table/e-table-extras.c b/widgets/table/e-table-extras.c index 6135839994..05642f1022 100644 --- a/widgets/table/e-table-extras.c +++ b/widgets/table/e-table-extras.c @@ -15,6 +15,7 @@ #include "gal/e-table/e-cell-checkbox.h" #include "gal/e-table/e-cell-date.h" #include "gal/e-table/e-cell-number.h" +#include "gal/e-table/e-cell-pixbuf.h" #include "gal/e-table/e-cell-size.h" #include "gal/e-table/e-cell-tree.h" #include "e-table-extras.h" @@ -84,6 +85,7 @@ ete_init (ETableExtras *extras) e_table_extras_add_cell(extras, "checkbox", e_cell_checkbox_new()); e_table_extras_add_cell(extras, "date", e_cell_date_new (NULL, GTK_JUSTIFY_LEFT)); e_table_extras_add_cell(extras, "number", e_cell_number_new (NULL, GTK_JUSTIFY_RIGHT)); + e_table_extras_add_cell(extras, "pixbuf", e_cell_pixbuf_new ()); e_table_extras_add_cell(extras, "size", e_cell_size_new (NULL, GTK_JUSTIFY_RIGHT)); e_table_extras_add_cell(extras, "string", e_cell_text_new (NULL, GTK_JUSTIFY_LEFT)); e_table_extras_add_cell(extras, "tree-string", e_cell_tree_new (NULL, NULL, TRUE, e_cell_text_new (NULL, GTK_JUSTIFY_LEFT))); -- cgit