diff options
author | Vladimir Vukicevic <vladimir@src.gnome.org> | 2001-03-01 15:43:37 +0800 |
---|---|---|
committer | Vladimir Vukicevic <vladimir@src.gnome.org> | 2001-03-01 15:43:37 +0800 |
commit | 1fc93f47b89b1fc9fab19a48291a1129d979b50e (patch) | |
tree | 286cc00b4b85f1811d7d1ab3bff4e0e03a87fa42 /widgets/table | |
parent | 6b9b57a3f0742cbe39e2d28a4bff007c7c99d29b (diff) | |
download | gsoc2013-evolution-1fc93f47b89b1fc9fab19a48291a1129d979b50e.tar.gz gsoc2013-evolution-1fc93f47b89b1fc9fab19a48291a1129d979b50e.tar.zst gsoc2013-evolution-1fc93f47b89b1fc9fab19a48291a1129d979b50e.zip |
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
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-table-extras.c | 2 |
1 files changed, 2 insertions, 0 deletions
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))); |