aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-10 01:26:07 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-10 01:26:07 +0800
commit627ae5c6cada568578ed99160fc9ac9031eaa148 (patch)
treee8f9e3f5cdffbd48f85ecc0abee53ebc48008606 /widgets
parentd7afd9ba2a08bb5d1ea25979ad0e84beced3a4d0 (diff)
downloadgsoc2013-evolution-627ae5c6cada568578ed99160fc9ac9031eaa148.tar.gz
gsoc2013-evolution-627ae5c6cada568578ed99160fc9ac9031eaa148.tar.zst
gsoc2013-evolution-627ae5c6cada568578ed99160fc9ac9031eaa148.zip
Reenable editting.
2000-05-09 Christopher James Lahey <clahey@helixcode.com> * gui/minicard/e-minicard.c: Reenable editting. * gui/minicard/e-reflow-sorted.c: Make reflow flow on deletion. svn path=/trunk/; revision=2954
Diffstat (limited to 'widgets')
-rw-r--r--widgets/e-reflow/e-reflow-sorted.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/widgets/e-reflow/e-reflow-sorted.c b/widgets/e-reflow/e-reflow-sorted.c
index a261ad7172..415537825b 100644
--- a/widgets/e-reflow/e-reflow-sorted.c
+++ b/widgets/e-reflow/e-reflow-sorted.c
@@ -170,7 +170,7 @@ e_reflow_sorted_remove_item(EReflowSorted *e_reflow_sorted, const gchar *id)
gtk_object_unref(GTK_OBJECT(item));
gtk_object_destroy(GTK_OBJECT(item));
if ( GTK_OBJECT_FLAGS( e_reflow_sorted ) & GNOME_CANVAS_ITEM_REALIZED ) {
- e_canvas_item_request_reflow(item);
+ e_canvas_item_request_reflow(GNOME_CANVAS_ITEM(e_reflow_sorted));
}
}
}
@@ -211,7 +211,7 @@ e_reflow_sorted_reorder_item(EReflowSorted *e_reflow_sorted, const gchar *id)
gtk_object_unref(GTK_OBJECT(item));
g_list_free_1(list);
e_reflow_sorted_add_item(reflow, item);
- e_canvas_item_request_reflow(GNOME_CANVAS_ITEM(reflow));
+ e_canvas_item_request_reflow(GNOME_CANVAS_ITEM(e_reflow_sorted));
}
}
@@ -227,7 +227,8 @@ e_reflow_sorted_add_item(EReflow *reflow, GnomeCanvasItem *item)
gnome_canvas_item_set(item,
"width", (double) reflow->column_width,
NULL);
- e_canvas_item_request_reflow(item);
+
+ e_canvas_item_request_reflow(GNOME_CANVAS_ITEM(e_reflow_sorted));
}
}
}