u/ubumenu - add item to 0 after file populate.

luke_topic@yahoo.com.au's icon

Hi,

I have a created a file selection list using an ubumenu (with auto-populate). Does anyone one know an easy method to add 'None' to the list at '0' (top of the list) WITH the list of files?

This would be simple if auto-populate did not automatically clear the list first. The folder object (when populating an umenu object) also clears the list.

Any ideas ?

Luke

Jeremy's icon

At this time, at least with ubumenu, it's either autopopulate mode or
do-it-yourself mode -- you can't easily add items to the autopopulated menu.

However, I can see how an "insert" message to ubumenu would be useful.
There isn't one right now, though.

jb

Mattijs's icon
Emmanuel Jourdan's icon

On 20 avr. 07, at 17:32, Mattijs Kneppers wrote:

> Hi, I'm running into this problem too now. Guess no updates?
>
> Ad VG: problem is that folder only lists files, not folders, as
> ubumenu does.
>
> This is a feature request: [folder] should also be able to list the
> subfolders of the listed flder, not only the files.

Folder is a file which have the type "fold". Did you try that?

ej