diff options
Diffstat (limited to 'libcaja-private/caja-autorun.c')
-rw-r--r-- | libcaja-private/caja-autorun.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcaja-private/caja-autorun.c b/libcaja-private/caja-autorun.c index 339f49bc..797e608b 100644 --- a/libcaja-private/caja-autorun.c +++ b/libcaja-private/caja-autorun.c @@ -475,7 +475,6 @@ caja_autorun_prepare_combo_box (GtkWidget *combo_box, cairo_surface_t *surface; int icon_size, icon_scale; int set_active; - int n; int num_apps; gboolean pref_ask; gboolean pref_start_app; @@ -594,6 +593,8 @@ caja_autorun_prepare_combo_box (GtkWidget *combo_box, COLUMN_AUTORUN_ITEM_TYPE, AUTORUN_SEP, -1); + int n; + for (l = app_info_list, n = include_ask ? 4 : 3; l != NULL; l = l->next, n++) { GIcon *icon; |