init.rb in rwdgutenberg-0.08 vs init.rb in rwdgutenberg-0.09
- old
+ new
@@ -16,11 +16,11 @@
#* You should have received a copy of the GNU General Public
#* License along with these files; if not, write to the Free Software
#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#*
#* For further information please contact the author by e-mail
-#* at "steven@superant.com".
+#* at "smalllinux@gmail.com".
#***********************************************************************/
require "ev/rwd"
require 'fileutils'
require 'extras/rconftool'
@@ -232,12 +232,12 @@
loadguifile(x + "/**")
end
end
# gui variable is done
- guiRWD = $tempdoc
-
+ guiRWD = ""
+ $rwd_gui_tinker = $tempdoc
require 'socket' # Network stuff
host = "127.0.0.1"
port = $port
# Create a socket to listen on and bind it to the host and port
@@ -271,7 +271,7 @@
# Rescue all other errors
end
end
-
- RwdTinker.new( guiRWD).serve(port) # start the main class and program
+
+ RwdTinker.new( $rwd_gui_tinker ).serve(port) # start the main class and program