All pastes #928950 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-03-05 13:01 UTC
rendered paste body
Index: src/common/paws/pawsmanager.cpp
===================================================================
--- src/common/paws/pawsmanager.cpp     (revision 1136)
+++ src/common/paws/pawsmanager.cpp     (working copy)
@@ -127,7 +127,6 @@
     prefs = new pawsPrefManager();

     csString prefsFile = cfg->GetStr("PlaneShift.GUI.PrefsFile", "/this/data/prefs.xml");
-    csString borderFile = cfg->GetStr("PlaneShift.GUI.BorderFile", "/this/data/gui/borderlist.xml");

     styles = new pawsStyles( objectReg );
     if (!styles->LoadStyles("/this/data/gui/styles.xml"))
@@ -142,8 +141,6 @@

     if ( !prefs->LoadPrefFile( prefsFile ) )
         Error2("Failed to load prefsFile '%s'", prefsFile.GetData());
-    if ( !prefs->LoadBorderFile( borderFile ) )
-        Error2("Failed to load borderFile '%s'", borderFile.GetData());


     mouse = new pawsMouse();


Index: data/gui/illumination.xml
===================================================================
--- data/gui/illumination.xml   (revision 1136)
+++ data/gui/illumination.xml   (working copy)
@@ -1,7 +1,7 @@
 <widget_description>

     <widget name="SketchWindow" factory="pawsSketchWindow" resizable="no" visible="no" movable="yes" keepaspect="no">
-        <frame x="100" y="100" width="400" height="300" border="Leather Sketch Border"/>
+        <frame x="100" y="100" width="400" height="300" border=""/>
        <minframe height="20" />
         <title resource="Blue Title" text="Sketch Viewer" align="left" close_button="yes"/>
         <title text="Sketch Viewer" align="left" close_button="yes"/>