[imp] Question about folder drop-down list (HEAD)

Jan Kuipers jrkuipers@lauwerscollege.nl
Mon, 22 Jul 2002 09:26:16 +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).

This is better (patch attached)

-- 
Jan Kuipers
Systeembeheer Lauwers College
---------------------- multipart/mixed attachment
SW5kZXg6IG1haWxib3gucGhwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9yZXBvc2l0b3J5L2ltcC9t
YWlsYm94LnBocCx2CnJldHJpZXZpbmcgcmV2aXNpb24gMi40MDEKZGlmZiAtdSAtcjIuNDAxIG1h
aWxib3gucGhwCi0tLSBtYWlsYm94LnBocAkxOCBKdWwgMjAwMiAyMToxNTo0MiAtMDAwMAkyLjQw
MQorKysgbWFpbGJveC5waHAJMjIgSnVsIDIwMDIgMDc6MjE6MTkgLTAwMDAKQEAgLTE4NCw3ICsx
ODQsNyBAQAogfQogCiBpZiAoJGNvbmZbJ3VzZXInXVsnYWxsb3dfZm9sZGVycyddKSB7Ci0gICAg
JG9wdGlvbnMgPSBJTVA6OmZsaXN0U2VsZWN0KF8oIk1lc3NhZ2VzIHRvIiksIHRydWUsIGFycmF5
KCRpbXBbJ21haWxib3gnXSkpOworICAgICRvcHRpb25zID0gSU1QOjpmbGlzdFNlbGVjdChfKCJN
ZXNzYWdlcyB0byIpLCB0cnVlLCBhcnJheSgkaW1wWydtYWlsYm94J10pLCBmYWxzZSwgdHJ1ZSk7
CiB9CiAKICRuZXdtc2dzID0gMDsKSW5kZXg6IG1lc3NhZ2UucGhwCj09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09P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ICAgICAgZm9yZWFjaCAoJG1haWxib3hlcyBhcyAkbWJveCkgewogICAgICAg
ICAgICAgJHNlbCA9ICgkbWJveFsndmFsJ10gJiYgJG1ib3hbJ3ZhbCddID09PSAkc2VsZWN0ZWQp
ID8gJyBzZWxlY3RlZD0ic2VsZWN0ZWQiJyA6ICcnOwo=

---------------------- multipart/mixed attachment--