Mercurial > geeqie
comparison src/menu.c @ 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 | f9bf33be53ff |
children | 6867a444839c |
comparison
equal
deleted
inserted
replaced
569:fd51eac09ead | 570:0da87187d5fb |
---|---|
64 */ | 64 */ |
65 | 65 |
66 static void add_edit_items(GtkWidget *menu, GCallback func, GtkAccelGroup *accel_grp) | 66 static void add_edit_items(GtkWidget *menu, GCallback func, GtkAccelGroup *accel_grp) |
67 { | 67 { |
68 gint i; | 68 gint i; |
69 for (i = 0; i < GQ_EDITOR_SLOTS; i++) | 69 |
70 for (i = 0; i < GQ_EDITOR_GENERIC_SLOTS; i++) | |
70 { | 71 { |
71 if (options->editor_command[i] && strlen(options->editor_command[i]) > 0) | 72 if (options->editor_command[i] && strlen(options->editor_command[i]) > 0) |
72 { | 73 { |
73 gchar *text; | 74 gchar *text; |
74 if (options->editor_name[i] && strlen(options->editor_name[i]) > 0) | 75 if (options->editor_name[i] && strlen(options->editor_name[i]) > 0) |