Index: src/orca/orca_gui_prefs.py
===================================================================
--- src/orca/orca_gui_prefs.py	(revision 2511)
+++ src/orca/orca_gui_prefs.py	(working copy)
@@ -758,12 +758,12 @@
 
         model = view.get_model()
         view.set_model(None)
+        defScript = default.Script(None)
 
         [attrList, attrDict] = \
-            orca_state.activeScript.textAttrsToDictionary(setAttributes)
+           defScript.textAttrsToDictionary(setAttributes)
         [allAttrList, allAttrDict] = \
-            orca_state.activeScript.textAttrsToDictionary( \
-                                        settings.allTextAttributes)
+           defScript.textAttrsToDictionary(settings.allTextAttributes)
 
         for i in range(0, len(attrList)):
             for path in range(0, len(allAttrList)):
@@ -861,9 +861,9 @@
         # Initially setup the list store model based on the values of all 
         # the known text attributes.
         #
+        defScript = default.Script(None)
         [allAttrList, allAttrDict] = \
-            orca_state.activeScript.textAttrsToDictionary( \
-                                        settings.allTextAttributes)
+                defScript.textAttrsToDictionary(settings.allTextAttributes)
         for i in range(0, len(allAttrList)):
             iter = model.append()
             model.set(iter, IS_SPOKEN, False,
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 2511)
+++ ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2007-06-29  Joanmarie Diggs <j-diggs@comcast.net>
+
+        * src/orca/orca_gui_prefs.py: Tweak for the fix for Bug #376515 
+        - Add GUI support for the new customizable text-attribute feature.
+        Use default.Script rather than orca_state.activeScript to avoid
+        errors when ~/.orca is not present.
+
 2007-06-28 Scott Haeger <scott@bashautomation.com>
 
         * src/orca/Gecko.py Fixed bug #449232, Firefox move to next
