Skip to content
This repository has been archived by the owner on Sep 19, 2020. It is now read-only.

Commit

Permalink
Version 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
oeed committed Mar 23, 2014
1 parent b224194 commit ce6ded2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Desktop/Documents/Welcome!.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Hello and welcome to OneOS! If you have any problems, find a bug or have a suggestion let me (oeed) know on the ComputerCraft forums!

Thanks for using OneOS!
Thanks for using OneOS!
6 changes: 4 additions & 2 deletions System/API/OpenWithDialougeWindow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,15 @@
new.Title = Helpers.TruncateString(title, 26)
new.Visible = true
new.OkButton = Button:Initialise(new.Width - #okText - 2, new.Height - 1, nil, 1, colours.lightGrey, colours.black, colours.blue, colours.white, new, function()
returnFunc(true, '/Programs/'..new.ListView.Items[new.ListView.Selected]..'.program')
new:Close()
MainDraw()
returnFunc(true, '/Programs/'..new.ListView.Items[new.ListView.Selected]..'.program')
end, okText)
if cancelText then
new.CancelButton = Button:Initialise(new.Width - #okText - 2 - 1 - #cancelText - 2, new.Height - 1, nil, 1, colours.lightGrey, colours.black, colours.blue, colours.white, new, function()
returnFunc(false)
new:Close()
MainDraw()
returnFunc(false)
end, cancelText)
end

Expand Down

0 comments on commit ce6ded2

Please sign in to comment.