All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] phonesim: one small fix regarding the dbus interface
@ 2012-07-12  8:06 Simon Busch
  2012-07-12  8:06 ` [PATCH] control: use correct dbus error domain Simon Busch
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Busch @ 2012-07-12  8:06 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

Heyho,

while working with phonesim's dbus interface I discovered it's not using for each reported
error the same error domain. The attached patch fixes this.

regards,
Simon

Simon Busch (1):
  control: use correct dbus error domain

 src/control.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] control: use correct dbus error domain
  2012-07-12  8:06 [PATCH] phonesim: one small fix regarding the dbus interface Simon Busch
@ 2012-07-12  8:06 ` Simon Busch
  2012-07-12 16:17   ` Denis Kenzior
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Busch @ 2012-07-12  8:06 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 981 bytes --]

Before it was org.ofono.phonesimError but should be consistent with the other error
reports and should use org.ofono.phonesim.Error.

Signed-off-by: Simon Busch <morphis@gravedo.de>
---
 src/control.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/control.cpp b/src/control.cpp
index 9085acd..3f1dd45 100644
--- a/src/control.cpp
+++ b/src/control.cpp
@@ -711,7 +711,7 @@ QString Script::Run(const QString &name, const QDBusMessage &msg)
     QScriptValue qsScript = engine.evaluate(contents);
     if (qsScript.isError()) {
         QString info = fileName + ", line " + qsScript.property("lineNumber").toString() + ", " + qsScript.toString();
-        QDBusMessage reply = msg.createErrorReply(SERVICE "Error.ScriptExecError", info);
+        QDBusMessage reply = msg.createErrorReply(SERVICE ".Error.ScriptExecError", info);
         QDBusConnection::sessionBus().send(reply);
         return QString();
     }
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] control: use correct dbus error domain
  2012-07-12  8:06 ` [PATCH] control: use correct dbus error domain Simon Busch
@ 2012-07-12 16:17   ` Denis Kenzior
  2012-07-12 16:33     ` Simon Busch
  0 siblings, 1 reply; 4+ messages in thread
From: Denis Kenzior @ 2012-07-12 16:17 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 446 bytes --]

Hi Simon,

On 07/12/2012 03:06 AM, Simon Busch wrote:
> Before it was org.ofono.phonesimError but should be consistent with the other error
> reports and should use org.ofono.phonesim.Error.
>
> Signed-off-by: Simon Busch<morphis@gravedo.de>

Please note that we do not use Signed-off-by

> ---
>   src/control.cpp |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>

Patch has been applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] control: use correct dbus error domain
  2012-07-12 16:17   ` Denis Kenzior
@ 2012-07-12 16:33     ` Simon Busch
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Busch @ 2012-07-12 16:33 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 626 bytes --]

Am 12.07.2012 18:17, schrieb Denis Kenzior:
> Hi Simon,
>
> On 07/12/2012 03:06 AM, Simon Busch wrote:
>> Before it was org.ofono.phonesimError but should be consistent with
>> the other error
>> reports and should use org.ofono.phonesim.Error.
>>
>> Signed-off-by: Simon Busch<morphis@gravedo.de>
>
> Please note that we do not use Signed-off-by


Ok, will consider this the next time.

>> ---
>>   src/control.cpp |    2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>
> Patch has been applied, thanks.

Thanks a lot.

regards,
Simon

-- 
Simon Busch - http://mm.gravedo.de/blog/



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-12 16:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-12  8:06 [PATCH] phonesim: one small fix regarding the dbus interface Simon Busch
2012-07-12  8:06 ` [PATCH] control: use correct dbus error domain Simon Busch
2012-07-12 16:17   ` Denis Kenzior
2012-07-12 16:33     ` Simon Busch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.