changeset 570:0da87187d5fb

Do not show Copy, Move, Rename, Delete, New Folder external commands in the Edit section of contextual menus.
author zas_
date Sun, 04 May 2008 00:21:14 +0000
parents fd51eac09ead
children 6867a444839c
files src/menu.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/menu.c	Sun May 04 00:16:37 2008 +0000
+++ b/src/menu.c	Sun May 04 00:21:14 2008 +0000
@@ -66,7 +66,8 @@
 static void add_edit_items(GtkWidget *menu, GCallback func, GtkAccelGroup *accel_grp)
 {
 	gint i;
-	for (i = 0; i < GQ_EDITOR_SLOTS; i++)
+
+	for (i = 0; i < GQ_EDITOR_GENERIC_SLOTS; i++)
 		{
 		if (options->editor_command[i] && strlen(options->editor_command[i]) > 0)
 			{