Temporary fix for the new folder action. The dialog for it is still

broke. Too many things are just temporary hacks.
This commit is contained in:
grail%cafebabe.org 1999-01-22 06:45:10 +00:00
parent a73a493f0e
commit 97d22983b8

View File

@ -17,7 +17,7 @@
* Netscape Communications Corporation. All Rights Reserved.
*
* Created: Will Scullin <scullin@netscape.com>, 20 Nov 1997.
* Modified: Jeff Galyan <jeffrey.galyan@sun.com>, 31 Dec 1998
* Modified: Giao Nguyen <grail@cafebabe.org>, 20, Jan 1999.
*/
package grendel.ui;
@ -133,9 +133,9 @@ public class NewFolderDialog extends GeneralDialog {
// XXX This is a stupid hack because PageUI doesn't to a resource lookup
// on it's title. Bleh.
String title = "PageUI";
String title = "folderLabel";
try {
title = (String) model.getAttribute(title.substring(1));
title = (String) model.getAttribute(title);
} catch (NoSuchElementException e) {}
setTitle(title);