aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-09 13:20:05 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-09 13:20:05 +0800
commit3c36db8abbc66ef4306c98dac6e9592bca036bd4 (patch)
tree60da58690fe6c085e0c39c2b6cfd8abdff6c0fb4 /e-util
parentfbf55cd7f31b6a413ebe785579b840a0091d390c (diff)
downloadgsoc2013-evolution-3c36db8abbc66ef4306c98dac6e9592bca036bd4.tar
gsoc2013-evolution-3c36db8abbc66ef4306c98dac6e9592bca036bd4.tar.gz
gsoc2013-evolution-3c36db8abbc66ef4306c98dac6e9592bca036bd4.tar.bz2
gsoc2013-evolution-3c36db8abbc66ef4306c98dac6e9592bca036bd4.tar.lz
gsoc2013-evolution-3c36db8abbc66ef4306c98dac6e9592bca036bd4.tar.xz
gsoc2013-evolution-3c36db8abbc66ef4306c98dac6e9592bca036bd4.tar.zst
gsoc2013-evolution-3c36db8abbc66ef4306c98dac6e9592bca036bd4.zip
Ooops.
2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c: Ooops. svn path=/trunk/; revision=4630
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog4
-rw-r--r--e-util/e-popup-menu.c13
2 files changed, 11 insertions, 6 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index f5d1c2a4de..2794a53336 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: Ooops.
+
+2000-08-09 Christopher James Lahey <clahey@helixcode.com>
+
* e-util.c, e-util.h: Added uncompiled e_read_uri function.
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 619f40a22d..e7423e40f0 100644
--- a/e-util/e-popup-menu.c
+++ b/e-util/e-popup-menu.c
@@ -61,8 +61,8 @@ e_popup_menu_create (EPopupMenu *menu_list, int disable_mask, int hide_mask, voi
{
GtkMenu *menu = GTK_MENU (gtk_menu_new ());
int i;
- gboolean last_item_separator = TRUE;
- gint last_non_separator = -1;
+ gboolean last_item_seperator = TRUE;
+ gint last_non_seperator = -1;
for (i = 0; menu_list[i].name; i++) {
if (strcmp("", menu_list[i].name) && !(menu_list [i].disable_mask & hide_mask)) {
@@ -70,13 +70,13 @@ e_popup_menu_create (EPopupMenu *menu_list, int disable_mask, int hide_mask, voi
}
}
- for (i = 0; i < last_non_separator; i++) {
+ for (i = 0; i < last_non_seperator; i++) {
GtkWidget *item;
- gboolean separator;
+ gboolean seperator;
- separator = !strcmp("", menu_list[i].name);
+ seperator = !strcmp("", menu_list[i].name);
- if ((!(separator && last_separator)) && !(menu_list [i].disable_mask & hide_mask)) {
+ if ((!(seperator && last_item_seperator)) && !(menu_list [i].disable_mask & hide_mask)) {
item = make_item (menu, menu_list [i].name,
menu_list [i].pixname);
@@ -93,6 +93,7 @@ e_popup_menu_create (EPopupMenu *menu_list, int disable_mask, int hide_mask, voi
gtk_widget_show (item);
gtk_menu_append (menu, item);
}
+ last_item_seperator = seperator;
}
return menu;