From 733a8c4ccd84a8dafc2377db5bfe25bbcc3f23cb Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 9 Aug 2000 07:24:36 +0000 Subject: Fix the bug where it truncates the last item 2000-08-09 Christopher James Lahey * e-popup-menu.c: Fix the bug where it truncates the last item svn path=/trunk/; revision=4648 --- e-util/ChangeLog | 4 ++++ e-util/e-popup-menu.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'e-util') diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 2794a53336..878adc70cd 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,7 @@ +2000-08-09 Christopher James Lahey + + * e-popup-menu.c: Fix the bug where it truncates the last item + 2000-08-09 Christopher James Lahey * e-popup-menu.c: Ooops. diff --git a/e-util/e-popup-menu.c b/e-util/e-popup-menu.c index e7423e40f0..3fb382ae20 100644 --- a/e-util/e-popup-menu.c +++ b/e-util/e-popup-menu.c @@ -70,7 +70,7 @@ e_popup_menu_create (EPopupMenu *menu_list, int disable_mask, int hide_mask, voi } } - for (i = 0; i < last_non_seperator; i++) { + for (i = 0; i <= last_non_seperator; i++) { GtkWidget *item; gboolean seperator; -- cgit v1.2.3