Google Groups Home
Help | Sign in
open-sourced REBOL/View Desktop refuses to run
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Oyster  
View profile
 More options Dec 6 2006, 7:11 am
From: "Oyster" <lepto.pyt...@gmail.com>
Date: Wed, 06 Dec 2006 12:11:41 -0000
Local: Wed, Dec 6 2006 7:11 am
Subject: open-sourced REBOL/View Desktop refuses to run
as the title says, it does not run on current rebol/view with this
error:
[code]
** Script Error: load-prefs has no value
** Where: init-desktop
** Near: load-prefs
windowize-dtw
resize-dtw
reskin-dtw dtw-skin
[/code]
Do I miss some other code? Thanx.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ged Byrne  
View profile
 More options Jan 16 2007, 3:35 pm
From: "Ged Byrne" <ged.by...@gmail.com>
Date: Tue, 16 Jan 2007 20:35:43 -0000
Local: Tues, Jan 16 2007 3:35 pm
Subject: Re: open-sourced REBOL/View Desktop refuses to run
Oyster,

It is necessary to update vt-main to remove SDK specific features:

REBOL [
        Title: "REBOL/View Desktop - Main Module"
        Version: 1.2.0
        Author: "Carl Sassenrath"
        Rights: "Copyright REBOL Technologies 1999-2003"
        Tabs: "Tabspace is 4. PLEASE KEEP IT THAT WAY."
        License: {
                This software is the property of REBOL Technologies and is
                licensed to you under the terms of the REBOL/View Desktop
                License (included in this distribution).
        }
]

test-mode: on
link?: false

;-- Variables
----------------------------------------------------------------

view-root: what-dir     ; base directory for file references
alive?: false           ; true when connected to net

;-- Utility Functions
--------------------------------------------------------

dbug: func [msg [block! any-string!] /local dbg] [
        if not dbg: user-prefs/debug [exit]
        msg: head insert remold msg "desktop "
        either file? dbg [write/append dbg msg][print msg]
]

;-- Missing Modules
----------------------------------------------------------

view-prefs: does [alert "No user settings or prefs panel."]
set-user: does [view-prefs]

;-- View Desktop Modules
-----------------------------------------------------

DO %vt-initfiles.r
DO %vt-prefs.r
DO %vt-images.r
DO %vt-window.r
DO %vt-folder.r
DO %vt-icon.r
DO %vt-iconinfo.r
DO %vt-initfiles.r
DO %vt-index.r
DO %vt-launch.r
DO %vt-goto.r
DO %vt-help.r
DO %vt-emailer.r
DO %vt-editor.r
DO %vt-connect.r

;-- Initialization
-----------------------------------------------------------

init-desktop: has [product] [
        dbug ["Desktop boot" now]

        load-prefs
        windowize-dtw
        resize-dtw
        reskin-dtw dtw-skin
        view/new/options/title dtw-face [resize] "Desktop"
        detect-dtw
        show-id none
        show-modules
        show-welcome
        init-desktop-files
        load-file-types
        show-main-status either user-prefs/auto-connect [
                "Connecting to the Internet..."
        ][
                {Working offline. Click "local" to connect.}
        ]
        show-services view-root/desktop/services.r
        if user-prefs/auto-connect [connect-view]
        show-bookmarks view-root/desktop/bookmarks.r
]

desktop: does [
        ; Function that is called to start the desktop.
;       if block? ctx-viewtop [ctx-viewtop: context ctx-viewtop]
;       ctx-viewtop/init-desktop
        init-desktop
        do-events
]

if test-mode [do desktop]

none ; (Return value to REBOL component system: no callback)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google