small adjustments, disable demo apps

This commit is contained in:
Alexander Weber 2017-11-30 13:09:14 +01:00
parent e871dd4969
commit 7e3fec2ab1
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ laptop.register_app("launcher", {
local x = math.floor((i-1) / c_row_count)*2 + 1
local y = ((i-1) % c_row_count)*2 + 1
out = out .. 'image_button['..x..','..y..';1,1;'..(e.def.app_icon or 'logo.png')..';'..e.name..';]'..
'label['..(x-0.5)..','..(y+1)..';'..e.def.app_name..']'..
'label['..(x-0.3)..','..(y+1)..';'..e.def.app_name..']'..
'tooltip['..e.name..';'..(e.def.app_info or e.name)..']' --;<bgcolor>;<fontcolor>]'
end
return out

View File

@ -10,7 +10,7 @@ table.sort(background_tab)
laptop.register_app("launcher_settings", {
app_name = "Settings",
app_name = "Laptop Settings",
app_icon = "laptop_setting_wrench.png",
app_info = "Change laptop settings",

View File

@ -5,4 +5,4 @@ dofile(minetest.get_modpath('laptop')..'/os.lua')
dofile(minetest.get_modpath('laptop')..'/nodes.lua')
-- uncomment this line to disable demo apps in production
dofile(minetest.get_modpath('laptop')..'/demo_apps.lua')
--dofile(minetest.get_modpath('laptop')..'/demo_apps.lua')