diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-08-25 00:33:30 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-08-25 00:33:30 +0800 |
commit | f7120120cdd3c8bdfdc201a2bbcff847fa198d0b (patch) | |
tree | ce4b10fd342f9cb159b248f8acb0af59f13f5d1d /widgets/table/e-table-group-container.c | |
parent | 6c727437ab876b07d1095cc1ac45ad1d0e706c16 (diff) | |
download | gsoc2013-evolution-f7120120cdd3c8bdfdc201a2bbcff847fa198d0b.tar.gz gsoc2013-evolution-f7120120cdd3c8bdfdc201a2bbcff847fa198d0b.tar.zst gsoc2013-evolution-f7120120cdd3c8bdfdc201a2bbcff847fa198d0b.zip |
Added start_drag signals.
2001-08-24 Christopher James Lahey <clahey@ximian.com>
* e-table-group-container.c, e-table-group-leaf.c,
e-table-group-leaf.h, e-table-group.c, e-table-group.h: Added
start_drag signals.
* e-table-item.c, e-table-item.h (eti_event): Send the start_drag
signal. Fixes Ximian bug #807.
* e-table.c, e-table.h, e-tree.c, e-tree.h: Added start_drag
signal. Made default handler start drag & drop if we're set to
automatically handle dnd. Ripped out the code to handle watching
events for dnd since start_drag does this now.
svn path=/trunk/; revision=12437
Diffstat (limited to 'widgets/table/e-table-group-container.c')
-rw-r--r-- | widgets/table/e-table-group-container.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c index 034c5625b8..ce10fbf9a8 100644 --- a/widgets/table/e-table-group-container.c +++ b/widgets/table/e-table-group-container.c @@ -393,6 +393,13 @@ child_key_press (ETableGroup *etg, int row, int col, GdkEvent *event, return e_table_group_key_press (E_TABLE_GROUP (etgc), row, col, event); } +static gint +child_start_drag (ETableGroup *etg, int row, int col, GdkEvent *event, + ETableGroupContainer *etgc) +{ + return e_table_group_start_drag (E_TABLE_GROUP (etgc), row, col, event); +} + static ETableGroupContainerChildNode * create_child_node (ETableGroupContainer *etgc, void *val) { @@ -438,6 +445,8 @@ create_child_node (ETableGroupContainer *etgc, void *val) GTK_SIGNAL_FUNC (child_click), etgc); gtk_signal_connect (GTK_OBJECT (child), "key_press", GTK_SIGNAL_FUNC (child_key_press), etgc); + gtk_signal_connect (GTK_OBJECT (child), "start_drag", + GTK_SIGNAL_FUNC (child_start_drag), etgc); child_node->child = child; child_node->key = e_table_model_duplicate_value (etg->model, etgc->ecol->col_idx, val); child_node->string = e_table_model_value_to_string (etg->model, etgc->ecol->col_idx, val); |