diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-08-09 15:24:36 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-08-09 15:24:36 +0800 |
commit | 733a8c4ccd84a8dafc2377db5bfe25bbcc3f23cb (patch) | |
tree | b001459023c1e7d95cc7ddcda80dd488a48f535b | |
parent | 96569f50b15326cc6f48447b866391798a984d3a (diff) | |
download | gsoc2013-evolution-733a8c4ccd84a8dafc2377db5bfe25bbcc3f23cb.tar gsoc2013-evolution-733a8c4ccd84a8dafc2377db5bfe25bbcc3f23cb.tar.gz gsoc2013-evolution-733a8c4ccd84a8dafc2377db5bfe25bbcc3f23cb.tar.bz2 gsoc2013-evolution-733a8c4ccd84a8dafc2377db5bfe25bbcc3f23cb.tar.lz gsoc2013-evolution-733a8c4ccd84a8dafc2377db5bfe25bbcc3f23cb.tar.xz gsoc2013-evolution-733a8c4ccd84a8dafc2377db5bfe25bbcc3f23cb.tar.zst gsoc2013-evolution-733a8c4ccd84a8dafc2377db5bfe25bbcc3f23cb.zip |
Fix the bug where it truncates the last item
2000-08-09 Christopher James Lahey <clahey@helixcode.com>
* e-popup-menu.c: Fix the bug where it truncates the last item
svn path=/trunk/; revision=4648
-rw-r--r-- | e-util/ChangeLog | 4 | ||||
-rw-r--r-- | e-util/e-popup-menu.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-popup-menu.c | 2 |
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; |