diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-09-27 01:10:59 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-09-27 01:10:59 +0800 |
commit | ed86d76a071415d4af601693574e54ce8f432559 (patch) | |
tree | 1f21e4b9a97890564881737725315dfce6a837a8 /widgets/table | |
parent | 190d525a99e4327dcc70139b43dcf6648fdbee51 (diff) | |
download | gsoc2013-evolution-ed86d76a071415d4af601693574e54ce8f432559.tar.gz gsoc2013-evolution-ed86d76a071415d4af601693574e54ce8f432559.tar.zst gsoc2013-evolution-ed86d76a071415d4af601693574e54ce8f432559.zip |
drag/drop signals need to be added to the same object that is passed to
2000-09-26 Chris Toshok <toshok@helixcode.com>
* gal/e-table/e-table.c (e_table_setup_table): drag/drop signals need to be
added to the same object that is passed to gtk_drag_begin in
e_table_drag_begin. namely, the ETable.
(et_drag_data_received): fix typo - should emit
TABLE_DRAG_DATA_RECEIVED, not TABLE_DRAG_MOTION.
svn path=/trunk/; revision=5590
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-table.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 3fcd21332a..5c59723b6c 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -493,28 +493,28 @@ e_table_setup_table (ETable *e_table, ETableHeader *full_header, ETableHeader *h GTK_SIGNAL_FUNC (table_canvas_size_allocate), e_table); gtk_signal_connect ( - GTK_OBJECT (e_table->table_canvas), "drag_begin", + GTK_OBJECT (e_table), "drag_begin", GTK_SIGNAL_FUNC (et_drag_begin), e_table); gtk_signal_connect ( - GTK_OBJECT (e_table->table_canvas), "drag_end", + GTK_OBJECT (e_table), "drag_end", GTK_SIGNAL_FUNC (et_drag_end), e_table); gtk_signal_connect ( - GTK_OBJECT (e_table->table_canvas), "drag_data_get", + GTK_OBJECT (e_table), "drag_data_get", GTK_SIGNAL_FUNC (et_drag_data_get), e_table); gtk_signal_connect ( - GTK_OBJECT (e_table->table_canvas), "drag_data_delete", + GTK_OBJECT (e_table), "drag_data_delete", GTK_SIGNAL_FUNC (et_drag_data_delete), e_table); gtk_signal_connect ( - GTK_OBJECT (e_table->table_canvas), "drag_motion", + GTK_OBJECT (e_table), "drag_motion", GTK_SIGNAL_FUNC (et_drag_motion), e_table); gtk_signal_connect ( - GTK_OBJECT (e_table->table_canvas), "drag_leave", + GTK_OBJECT (e_table), "drag_leave", GTK_SIGNAL_FUNC (et_drag_leave), e_table); gtk_signal_connect ( - GTK_OBJECT (e_table->table_canvas), "drag_drop", + GTK_OBJECT (e_table), "drag_drop", GTK_SIGNAL_FUNC (et_drag_drop), e_table); gtk_signal_connect ( - GTK_OBJECT (e_table->table_canvas), "drag_data_received", + GTK_OBJECT (e_table), "drag_data_received", GTK_SIGNAL_FUNC (et_drag_data_received), e_table); gtk_signal_connect (GTK_OBJECT(e_table->table_canvas), "reflow", @@ -1556,7 +1556,7 @@ et_drag_data_received(GtkWidget *widget, &row, &col); gtk_signal_emit (GTK_OBJECT (et), - et_signals [TABLE_DRAG_MOTION], + et_signals [TABLE_DRAG_DATA_RECEIVED], row, col, context, |