[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#592841: typo "kindof" in plasma-scriptengine-ruby applet.rb resize



Package: plasma-scriptengine-ruby
Version: 4:4.4.5-1
Severity: normal
Tags: upstream patch


There's a typo in the "resize" function in:
/usr/share/kde4/apps/plasma_scriptengine_ruby/applet.rb

Line 90 has:
if args.length == 1 && args[0].kindof?(Qt::Size)

And it should read:
if args.length == 1 && args[0].kind_of?(Qt::Size)

(Note the underscore difference between kindof and kind_of)

This causes ruby plasma widgets (cpu frequency selector) to fail with "script initialization error"

I'm not certain whether this affects upstream, but this doesn't appear to be a Debian specific file.

Let me know if you need anything else.
Regards,
--Mike

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages plasma-scriptengine-ruby depends on:
ii  libplasma-ruby                4:4.4.5-2  KDE Plasma Ruby bindings

plasma-scriptengine-ruby recommends no packages.

plasma-scriptengine-ruby suggests no packages.

-- no debconf information



Reply to: