disp fix
This commit is contained in:
parent
adaf407eda
commit
34715f4074
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -2,7 +2,8 @@ instead (1.2.1) unstable; urgency=low
|
|||
|
||||
* clearlooks bg;
|
||||
* fading fix;
|
||||
* fix in disable autosave
|
||||
* fix in disable autosave;
|
||||
* disp fix;
|
||||
|
||||
-- Peter Kosyh <p.kosyh@gmail.com> Sat, 28 Aug 2010 19:47:00 +0300
|
||||
|
||||
|
|
|
@ -95,7 +95,13 @@ iface.ways = function(self, str)
|
|||
end;
|
||||
|
||||
function get_title()
|
||||
local s = call(here(), 'nam');
|
||||
local s
|
||||
if stead.api_version >= "1.2.0" then
|
||||
s = call(here(), 'disp');
|
||||
end
|
||||
if type(s) ~= 'string' then
|
||||
s = call(here(), 'nam');
|
||||
end
|
||||
if type(s) == 'string' then
|
||||
s = stead.string.gsub(s, '\\'..stead.delim, stead.delim);
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue