Revision 33:116a091c338b src/pithos/content/pithos.js
b/src/pithos/content/pithos.js | ||
---|---|---|
7 | 7 |
|
8 | 8 |
function open_shared() { |
9 | 9 |
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect'); |
10 |
window.showModalDialog("shared/shared.xul", undefined, "dialogwidth: 640; dialogheight:480");
|
|
10 |
window.openDialog("shared/shared.xul", "Shared Folders/Files", "chrome,modal,dialog,resizable,centerscreen");
|
|
11 | 11 |
} |
12 | 12 |
|
13 | 13 |
function open_trash() { |
14 | 14 |
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect'); |
15 |
window.showModalDialog("trash/trash.xul", undefined, "dialogwidth: 640; dialogheight:480");
|
|
15 |
window.openDialog("trash/trash.xul", "Trash", "chrome,modal,dialog,resizable,centerscreen");
|
|
16 | 16 |
} |
17 | 17 |
|
18 | 18 |
function TreeModel(tree_id) { |
Also available in: Unified diff