Re: [PyQt] [PyKDE4] Default value for the second argument of KAction.setShortcut() does not seem to work

2008-01-12 Thread Jim Bublitz
On Saturday 12 January 2008 02:40, Simon Edwards wrote: > Hi, > > Adeodato Simó wrote: > > This one time, I'm finding that KAction.setShortcut() can't work in > > Python without passing a value for the second argument, whereas this > > works in C++. Any chance you'd know why? Thanks. > > Looks like

Re: [PyQt] [PyKDE4] Default value for the second argument of KAction.setShortcut() does not seem to work

2008-01-12 Thread Adeodato Simó
* Simon Edwards [Sat, 12 Jan 2008 11:40:53 +0100]: > Adeodato Simó wrote: >> This one time, I'm finding that KAction.setShortcut() can't work in >> Python without passing a value for the second argument, whereas this >> works in C++. Any chance you'd know why? Thanks. > Looks like a bug in PyKDE

Re: [PyQt] [PyKDE4] Default value for the second argument of KAction.setShortcut() does not seem to work

2008-01-12 Thread Simon Edwards
Hi, Adeodato Simó wrote: This one time, I'm finding that KAction.setShortcut() can't work in Python without passing a value for the second argument, whereas this works in C++. Any chance you'd know why? Thanks. Looks like a bug in PyKDE4. The second arg doesn't have a default value like in t

[PyQt] [PyKDE4] Default value for the second argument of KAction.setShortcut() does not seem to work

2008-01-11 Thread Adeodato Simó
Hello again, Simon. This one time, I'm finding that KAction.setShortcut() can't work in Python without passing a value for the second argument, whereas this works in C++. Any chance you'd know why? Thanks. This: -8<- #! /usr/bin/env python from PyKDE4 import kdeui action = kdeui.KAction(None)