[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: PCB: Change default file-filter in open-dialog



 Hi Bert,

Bert Timmerman wrote:
Commit message says it all:
     Apply filters to load filechooser dialogs. [1988982] [2686963]

     Applies filters to the filechooser dialogs when loading layouts,
     layouts (to buffer), elements (to buffer) and netlists.

     Default behaviour is to not filter in the filechooser dialog.
     Choosing a predefined filefilter in the filechooser dialog filters
     on registered mime types, lowercase and uppercase file extensions.
     Predefined filters are selected upon the action chosen in the "File"
     pulldown menu.


IMHO, being able to see *all* available files in a directory listed at
startup of the dialog, and not have been restricted in my view by the GUI,
still is a good thing.

In making GUI design decisions it is difficult to please all possible users.

Maybe make this configurable ?

you are right, this behaviour might not fit for all users. Make it configureable seems a very good choice to me. So I deleted this patch from sourceforge-tracker and will work at a new patch which will hopefully be more comfortable. My idea is to store the filter from last using of the dialog and use this filter again. The filter at the first launch of pcb after the installation should be 'show all files' as you suggested.

I am relatively new to the pcb-sourcecode. Can anybody give me a hint where to store informations like this? I would prefer to use functions from other (gtk-)libs like g_key_file_*, but I did not found any using of them in the pcb-sourcecode.

Kind regards,

Felix



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user