changeset 0:71b4d9ffc67b

Origination, taken from http://developer.mozilla.org/en/docs/Getting_started_with_XULRunner
author Atul Varma <varmaa@toolness.com>
date Wed, 09 Apr 2008 16:23:15 -0700
parents
children 6e6b8404733e
files myapp/application.ini myapp/chrome/chrome.manifest myapp/chrome/content/main.xul myapp/defaults/preferences/prefs.js
diffstat 4 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/myapp/application.ini	Wed Apr 09 16:23:15 2008 -0700
@@ -0,0 +1,11 @@
+[App]
+Vendor=Atul Varma
+Name=My First XULRunner App
+Version=1.0
+BuildID=20080409
+Copyright=Copyright (c) 2008 Atul Varma
+ID=myapp@toolness.com
+
+[Gecko]
+MinVersion=1.8
+MaxVersion=1.9.0.*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/myapp/chrome/chrome.manifest	Wed Apr 09 16:23:15 2008 -0700
@@ -0,0 +1,1 @@
+content myapp file:content/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/myapp/chrome/content/main.xul	Wed Apr 09 16:23:15 2008 -0700
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+
+<window id="main" title="My App" width="300" height="300"
+        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+  <caption label="Hai2u!" />
+</window>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/myapp/defaults/preferences/prefs.js	Wed Apr 09 16:23:15 2008 -0700
@@ -0,0 +1,1 @@
+pref("toolkit.defaultChromeURI", "chrome://myapp/content/main.xul");