diff options
author | Christopher James Lahey <clahey@ximian.com> | 2002-06-05 23:47:23 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-06-05 23:47:23 +0800 |
commit | 882e28269d85c84086b4fee1938f3cb11c82ce6f (patch) | |
tree | f877266b12335d7afe5768953adb182e983789d9 /widgets/table/e-table-field-chooser-item.c | |
parent | ee96e3762905713b1785d24f6de278608060d6c3 (diff) | |
download | gsoc2013-evolution-882e28269d85c84086b4fee1938f3cb11c82ce6f.tar.gz gsoc2013-evolution-882e28269d85c84086b4fee1938f3cb11c82ce6f.tar.zst gsoc2013-evolution-882e28269d85c84086b4fee1938f3cb11c82ce6f.zip |
Added debugging printfs.
2002-06-05 Christopher James Lahey <clahey@ximian.com>
* e-table-field-chooser-item.c: Added debugging printfs.
* e-table-header-item.c: Added debugging printfs.
(ethi_drag_motion): Don't subtract widget->allocation.* here. It
seems that this value is affected by whether the table is using a
click to add field. Not sure why.
* e-table-item.c (eti_realize): Check for NULL selection here.
svn path=/trunk/; revision=17118
Diffstat (limited to 'widgets/table/e-table-field-chooser-item.c')
-rw-r--r-- | widgets/table/e-table-field-chooser-item.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/table/e-table-field-chooser-item.c b/widgets/table/e-table-field-chooser-item.c index cf974d2327..d09dfd6e11 100644 --- a/widgets/table/e-table-field-chooser-item.c +++ b/widgets/table/e-table-field-chooser-item.c @@ -42,6 +42,8 @@ #include "e-table-field-chooser-item.h" +#define d(x) + #if 0 enum { BUTTON_PRESSED, @@ -546,6 +548,7 @@ etfci_start_drag (ETableFieldChooserItem *etfci, GdkEvent *event, double x, doub etfci->drag_col = ecol->col_idx; etfci_drag_types[0].target = g_strdup_printf("%s-%s", etfci_drag_types[0].target, etfci->dnd_code); + d(g_print ("etfci - %s\n", etfci_drag_types[0].target)); list = gtk_target_list_new (etfci_drag_types, ELEMENTS (etfci_drag_types)); context = gtk_drag_begin (widget, list, GDK_ACTION_MOVE, 1, event); g_free(etfci_drag_types[0].target); |