Re: [Kde-hardware-devel] Solid device action predicates

2009-07-24 Thread Kevin Ottens
On Wednesday 8 July 2009 13:47:45 Ozan Çağlayan wrote: The problem is that when the expected value doesn't exist (e.g. foobar, or a plain empty string '') e is equal to -1. So (v e) masking returns non-null because of the signedness of the variable e. Right, that was the root of the problem.

Re: [Kde-hardware-devel] More i18n problems in Solid

2009-07-24 Thread Kevin Ottens
On Monday 13 July 2009 23:44:23 Albert Astals Cid wrote: Hi, following my quest to make Solid and its users nice regarding i18n usage i've stumbled upon Solid::DeviceInterface::typeToString that returns non translatable strings from the .moc autogenerated code That function is used in device

Re: [Kde-hardware-devel] Solid SerialInterface and Device Notifier

2009-07-24 Thread Markus Becker
On Fri, Jul 24, 2009 at 9:36 PM, Markus Beckerm...@comnets.uni-bremen.de wrote: Hi, Hi Markus, I am trying to create an action for a serial device, which should be available in the Device Notifier. In order to do that I created the following serial.desktop file and put it into