On ���, 2002-02-16 at 19:28, Borsenkow Andrej wrote: > I try to add new local media. If I manually type in directory nmae it is > ignored, like > > adding medium of type: Local: '/usr/sbin/urpmi.addmedia' '-h' 'test' > 'file://export'
O.K. these are actually two bugs here. 1. gtk+mdk directory selection dialog totally ignores anything that you *type* in entry field, it is using it as display-only. In the above example I manually typed correct path. I have patch that changes it to respect user input. Alternative would be to disable editing but it was more work :-) 2. Gtk+ file selection dialog behaves very strange (to me at least). It splits input on the last "/" and treats the tail as file name and the head as directory. Assuming you have initially default /export. We call file selection and it starts in "/" - and when selection is done it *appends* "export" to whatever path name has been selected! Really weird must I say :( I have no idea how to fix it. I'll change default to "/export/" at least. May be it is really better to change field to something read-only but it requires more Gtk knowledge than I have currently. -andrej
