Package: ion3-scripts
Version: 20061015-1
Severity: normal
framecycle.lua
min_tabs.lua
statusbar_workspace.lua
Patches attached.
Regards.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19-rc3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages ion3-scripts depends on:
ii ion3 20061020-1 keyboard-friendly window manager w
ion3-scripts recommends no packages.
-- no debconf information
--- /usr/share/ion3/framecycle.lua 2006-10-12 08:47:52.000000000 +0200
+++ framecycle.lua 2006-10-28 15:24:34.000000000 +0200
@@ -43,8 +43,8 @@
function framecycle.cycle(frame)
local ws=frame:manager()
- if not obj_is(ws, "WIonWS") then
- warn("Expecting WIonWS")
+ if not obj_is(ws, "WTiling") then
+ warn("Expecting WTiling")
return
end
--- /usr/share/ion3/min_tabs.lua 2006-10-12 08:47:52.000000000 +0200
+++ min_tabs.lua 2006-11-01 15:11:04.000000000 +0100
@@ -44,8 +44,8 @@
-- Assume the tabbar should be shown.
local show_bar = true
- if fp:lcount(1) == 1 then
- local rg = fp:llist(1)[1]
+ if fp:mx_count(1) == 1 then
+ local rg = fp:mx_list(1)[1]
if not rg:is_tagged() then
show_bar = false
end
@@ -67,9 +67,9 @@
-- new version
ioncore.defer(function()
if show_bar then
- fp:set_tabbar("set")
+ fp:set_mode("tiled")
else
- fp:set_tabbar("unset")
+ fp:set_mode("tiled-alt")
end
end)
end
--- /usr/share/ion3/statusbar_workspace.lua 2006-10-12 08:47:52.000000000
+0200
+++ statusbar_workspace.lua 2006-10-28 14:48:50.000000000 +0200
@@ -52,9 +52,9 @@
local wstype, c
local pager=""
local curindex = scr:get_index(curws)+1
- n = scr:lcount(1)
+ n = scr:mx_count(1)
for i=1,n do
- wstype=obj_typename(scr:lnth(1, i-1))
+ wstype=obj_typename(scr:mx_nth(1, i-1))
if wstype=="WIonWS" then
c="i"
elseif wstype=="WFloatWS" then