diff options
author | Iain Holmes <iain@src.gnome.org> | 2000-09-15 08:08:06 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2000-09-15 08:08:06 +0800 |
commit | 22f72cc08e20c7871d93f05375fe2bafb0c1023a (patch) | |
tree | d765e7100abbfd00a916939716910b06e80e244c /widgets/table/e-table-header.c | |
parent | 6d35f43ab255e79770f4be53c058a084fe9c6826 (diff) | |
download | gsoc2013-evolution-22f72cc08e20c7871d93f05375fe2bafb0c1023a.tar.gz gsoc2013-evolution-22f72cc08e20c7871d93f05375fe2bafb0c1023a.tar.zst gsoc2013-evolution-22f72cc08e20c7871d93f05375fe2bafb0c1023a.zip |
Fix some crashes Make double clicking on the header dividers automatically
Fix some crashes
Make double clicking on the header dividers automatically size the header
to it's best fit.
When dragging onto the header check the dragged item is a header object.
Check the column is resizeable before setting the cursor to <->
Use the font and themes to draw the table and items.
svn path=/trunk/; revision=5438
Diffstat (limited to 'widgets/table/e-table-header.c')
-rw-r--r-- | widgets/table/e-table-header.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/widgets/table/e-table-header.c b/widgets/table/e-table-header.c index 0f8f9ed1e9..bc3b7a7e09 100644 --- a/widgets/table/e-table-header.c +++ b/widgets/table/e-table-header.c @@ -24,6 +24,7 @@ enum { enum { STRUCTURE_CHANGE, DIMENSION_CHANGE, + REQUEST_WIDTH, LAST_SIGNAL }; @@ -158,6 +159,13 @@ e_table_header_class_init (GtkObjectClass *object_class) GTK_SIGNAL_OFFSET (ETableHeaderClass, dimension_change), gtk_marshal_NONE__INT, GTK_TYPE_NONE, 1, GTK_TYPE_INT); + eth_signals [REQUEST_WIDTH] = + gtk_signal_new ("request_width", + GTK_RUN_LAST, + object_class->type, + GTK_SIGNAL_OFFSET (ETableHeaderClass, request_width), + gtk_marshal_INT__INT, + GTK_TYPE_INT, 1, GTK_TYPE_INT); gtk_object_class_add_signals (object_class, eth_signals, LAST_SIGNAL); } |