mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
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:
parent
a73a493f0e
commit
97d22983b8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user