[imp] Question about folder drop-down list (HEAD)
Jan Kuipers
jrkuipers@lauwerscollege.nl
Sun, 21 Jul 2002 17:53:44 +0200
This message is in MIME format.
---------------------- multipart/mixed attachment
Citeren Jan Kuipers <jrkuipers@lauwerscollege.nl>:
> Is it possible to show only _existing_ folders in the drop-down list on the
> menubar (next to Open Folder). In other words: can the New Folder option be
> removed here?
> If there or still plans with this option, please ignore this message.
If not, this might be a solution (patch attached).
--
Jan Kuipers
Systeembeheer Lauwers College
---------------------- multipart/mixed attachment
SW5kZXg6IG1lbnUucGhwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9yZXBvc2l0b3J5L2ltcC9tZW51
LnBocCx2CnJldHJpZXZpbmcgcmV2aXNpb24gMi44MgpkaWZmIC11IC1yMi44MiBtZW51LnBocAot
LS0gbWVudS5waHAJMjQgSmFuIDIwMDIgMjI6NTg6MDYgLTAwMDAJMi44MgorKysgbWVudS5waHAJ
MjEgSnVsIDIwMDIgMTU6NDc6NTQgLTAwMDAKQEAgLTEzLDcgKzEzLDcgQEAKIAogLyogR2V0IHRo
ZSBmb2xkZXIgbGlzdGluZyBmb3IgdGhlIDxzZWxlY3Q+IHdpZGdldC4gKi8KIGlmICgkY29uZlsn
dXNlciddWydhbGxvd19mb2xkZXJzJ10pIHsKLSAgICAkbWVudV9mb2xkZXJzID0gSU1QOjpmbGlz
dFNlbGVjdCgnJywgdHJ1ZSwgZmFsc2UsICRpbXBbJ21haWxib3gnXSk7CisgICAgJG1lbnVfZm9s
ZGVycyA9IElNUDo6Zmxpc3RTZWxlY3QoJycsIHRydWUsIGZhbHNlLCAkaW1wWydtYWlsYm94J10s
IGZhbHNlKTsKIH0KIAogLyogQ2hlY2sgZm9yIGFkZGl0aW9uYWwgc2l0ZS1zcGVjaWZpYyBtZW51
IGl0ZW1zIChpbiBjb25maWcvbWVudS5waHApLiAqLwpJbmRleDogbGliL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