aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog4
-rw-r--r--e-util/e-popup-menu.c2
-rw-r--r--widgets/misc/e-popup-menu.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 2794a53336..878adc70cd 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,5 +1,9 @@
2000-08-09 Christopher James Lahey <clahey@helixcode.com>
+ * e-popup-menu.c: Fix the bug where it truncates the last item
+
+2000-08-09 Christopher James Lahey <clahey@helixcode.com>
+
* e-popup-menu.c: Ooops.
2000-08-09 Christopher James Lahey <clahey@helixcode.com>
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;
diff --git a/widgets/misc/e-popup-menu.c b/widgets/misc/e-popup-menu.c
index e7423e40f0..3fb382ae20 100644
--- a/widgets/misc/e-popup-menu.c
+++ b/widgets/misc/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;