[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: [ANNOUNCE] D-Feet D-Bus Debugger
From:       Marcel Holtmann <marcel () holtmann ! org>
Date:       2008-01-08 2:57:24
Message-ID: 1199761044.26099.70.camel () aeonflux
[Download RAW message or body]

Hi J5,

> > > I've been playing around with a little tool for debugging applications
> > > on the bus. It is far from done but I decided to release it now that it
> > > has become useful. Right now you can see all names on the Session and
> > > System buses and get information on the objects and interfaces they
> > > export.
> > 
> > attached is a patch that makes it also show properties.
>
> Thanks, this is great.  Committed and your name has been added to the
> AUTHORS file.

the attached patch adds the missing signature decoding for all current
assigned types.

Also I have some problems with the icon loading on Ubuntu Gutsy.
Something seems to be wrong, but I can't figure out what. The icons are
install under /usr/share/hicolor/16x16/apps/dfeet-* and it looks good,
but for some reason they are not loading. Maybe I have to install some
extra Python package to make this work. Any ideas.

Regards

Marcel


["patch" (patch)]

diff --git a/dfeet/dbus_utils.py b/dfeet/dbus_utils.py
index e495798..10554bf 100644
--- a/dfeet/dbus_utils.py
+++ b/dfeet/dbus_utils.py
@@ -67,10 +67,18 @@ def convert_complex_type(subsig):
 def convert_simple_type(c):
     result = None
 
-    if c == 'i':
+    if c == 'n':
+        result = 'Int16'
+    elif c == 'q':
+        result = 'UInt16'
+    elif c == 'i':
         result = 'Int32'
     elif c == 'u':
         result = 'UInt32'
+    elif c == 'x':
+        result = 'Int64'
+    elif c == 't':
+        result = 'UInt64'
     elif c == 's':
         result = 'String'
     elif c == 'b':
@@ -79,6 +87,8 @@ def convert_simple_type(c):
         result = 'Byte'
     elif c == 'o':
         result = 'Object Path'
+    elif c == 'g':
+        result = 'Signature'
     elif c == 'd':
         result = 'Double'
     elif c == 'v':


_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic