From eb3baf70d47b7ea63fd4e144d677bf4ce2655b0d Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 16 Dec 2008 19:48:45 -0500 Subject: Project Manager entries use 'text' field, not 'display_text' anymore. --- core/ext/pm/modules_browser.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/ext/pm/modules_browser.lua') diff --git a/core/ext/pm/modules_browser.lua b/core/ext/pm/modules_browser.lua index 9c0c8992..0456feaf 100644 --- a/core/ext/pm/modules_browser.lua +++ b/core/ext/pm/modules_browser.lua @@ -32,11 +32,11 @@ function get_contents_for(full_path) local name = entry:sub(1, -2) dir[name] = { parent = true, - display_text = name, + text = name, pixbuf = 'gtk-directory' } else - dir[entry] = { display_text = entry } + dir[entry] = { text = entry } end end else @@ -50,7 +50,7 @@ function get_contents_for(full_path) for name in out:gmatch('[^\n]+') do dir[name] = { parent = true, - display_text = name, + text = name, pixbuf = 'gtk-directory' } end @@ -58,7 +58,7 @@ function get_contents_for(full_path) out = p:read('*all') p:close() for entry in out:gmatch('[^\n]+') do - dir[entry] = { display_text = entry } + dir[entry] = { text = entry } end end return dir -- cgit v1.2.3