]> git.evergreen-ils.org Git - Evergreen.git/blob - Evergreen/staff_client/chrome/content/evergreen/main/app_shell.xul
window title in xulrunner
[Evergreen.git] / Evergreen / staff_client / chrome / content / evergreen / main / app_shell.xul
1 <?xml version="1.0"?>
2 <!-- Application: Evergreen Staff Client -->
3
4 <!-- Localization -->
5 <!DOCTYPE window SYSTEM "chrome://evergreen/locale/app_shell.dtd">
6
7 <window id="app_shell_win"
8         orient="vertical" style="overflow: auto" width="800" height="500"
9         sizemode="maximized" persist="width height" 
10         onload="
11                 params.tabbox = 'main_tabbox'; 
12                 params.w = window; 
13                 params.app = 'AppShell'; 
14                 mw.OpenILS_init(params); 
15                 window.document.title = mw.G.user.usrname() + '@' + mw.G.user_ou.name() + ' : ' + (++mw.G.appshell_name_increment);
16         "
17         onunload="mw.OpenILS_exit(params);"
18         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
19
20         <script>mw.sdump('D_TRACE','Loading app_shell.xul\n');</script>
21
22         <!-- Stylesheets -->
23         <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
24         <?xml-stylesheet href="chrome://evergreen/skin/evergreen.css" type="text/css"?>
25         <?xml-stylesheet href="chrome://evergreen/skin/app_shell.css" type="text/css"?>
26         
27         <!-- Overlays for this XUL file -->
28         <?xul-overlay href="chrome://evergreen/content/main/app_shell_overlay.xul"?>
29
30         <!-- XUL'ified abstraction for logic to attach to widgets -->
31         <commandset id="universal_cmds" />
32
33         <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
34         <keyset id="AppShell_keys" />
35
36         <!-- Layout to be filled in by overlays and javascript -->
37         <box id="AppShell_main" />
38
39         <popupset id="universal_popupset" />
40
41 </window>
42