[bt-devel] dbus interface

Martin Gruner mg.pub at gmx.net
Sat Sep 26 08:31:30 MST 2009


Teus,

I just made a change to SVN HEAD that will allow Bibledit to find BibleTime as 
the DBus service "info.bibletime.BibleTime". It will be in version 2.3 which 
is supposed to be released soon.

mg

Am Samstag, 26. September 2009 14:03:19 schrieb Teus Benschop:
> Hi Martin,
> 
> You asked whether there's anything that needs to change in the
> implementation. Well, there's one thing that might help if that were
> changed, but it is not absolute necessary.
> 
> It is not visible on the DBus right now which of the targets represents
> BibleTime. To find BibleTime, Bibledit now needs to inspect each target
> it finds on the bus to find out whether it perhaps could be BibleTime.
> Scanning the targets takes time on startup. If it could be seen from the
> targets themselves which is BibleTime, that would speed up initial
> scanning.
> 
> I am pasting below the startup log from Bibledit while it scans all
> targets till it finds BibleTime:
> 
> Introspecting target org.freedesktop.DBus
> Introspecting target org.freedesktop.PowerManagement
> Introspecting target :1.7
> Introspecting target org.freedesktop.Notifications
> Introspecting target :1.8
> Introspecting target :1.9
> Introspecting target org.bazaarvcs.plugins.dbus.LanGateway
> Introspecting target org.gtk.vfs.Daemon
> Introspecting target org.gnome.SessionManager
> Introspecting target :1.60
> Introspecting target :1.61
> Introspecting target :1.62
> Introspecting target org.gnome.GConf
> Introspecting target :1.40
> Introspecting target :1.490
> Introspecting target :1.41
> Introspecting target :1.491
> Introspecting target :1.64
> Introspecting target com.Skype.API
> Introspecting target :1.20
> Introspecting target :1.42
> Introspecting target :1.492
> Introspecting target :1.43
> Introspecting target :1.21
> Introspecting target :1.493
> Introspecting target :1.44
> Introspecting target org.gnome.keyring
> Introspecting target :1.22
> Introspecting target :1.67
> Introspecting target :1.45
> Introspecting target :1.23
> Introspecting target :1.46
> Introspecting target :1.24
> Introspecting target :1.496
> Introspecting target :1.47
> Introspecting target :1.25
> Introspecting target :1.497
> Introspecting target :1.48
> Introspecting target :1.26
> Introspecting target :1.49
> Introspecting target org.gnome.SettingsDaemon
> Introspecting target :1.559
> Introspecting target :1.538
> Introspecting target :1.539
> Introspecting target org.bibledit
> Introspecting target org.gnome.Terminal.Display_0_0
> Introspecting target org.gnome.Nautilus
> Introspecting target org.gnome.Panel
> Introspecting target :1.90
> Introspecting target :1.91
> Introspecting target org.gnome.ScreenSaver
> Introspecting target :1.50
> Introspecting target org.gtk.Private.HalVolumeMonitor
> Introspecting target org.bluez.applet
> Introspecting target :1.73
> Introspecting target :1.51
> Introspecting target :1.52
> Introspecting target :1.75
> Introspecting target :1.53
> Introspecting target :1.31
> Introspecting target :1.54
> Introspecting target :1.32
> Introspecting target :1.55
> Introspecting target :1.11
> Introspecting target :1.33
> Introspecting target :1.56
> Introspecting target :1.12
> Introspecting target :1.34
> Introspecting target :1.57
> Introspecting target :1.0
> Introspecting target :1.13
> Introspecting target :1.35
> Introspecting target :1.540
> Introspecting target org.gtk.vfs.mountpoint.http
> Introspecting target :1.58
> Introspecting target :1.14
> Introspecting target :1.36
> Introspecting target :1.59
> Introspecting target :1.2
> Introspecting target :1.15
> Introspecting target :1.37
> Introspecting target :1.3
> Introspecting target :1.16
> Introspecting target :1.38
> Introspecting target :1.620
> Introspecting target :1.4
> Introspecting target :1.17
> Introspecting target :1.39
> Introspecting target :1.621
> BibleTime on DBus at target :1.621
> 
> There are targets that start with a colon. These have no name, and are
> to be inspected whether it possibly represents BibleTime. In the sample
> above, it appears that target ":1.621" represents BibleTime. Other
> targets have a name, e.g. "org.gtk.vfs.mountpoint.http". From this name
> it can easily be seen what kind of application the target represents. If
> BibleTime could get a name similar to the other named ones, then one
> looking at the DBus could immediately see which one is BibleTime.
> 
> However, I don't know how to give a name to the target using QtDBus. I
> am not familiar with Qt.
> 
> As said, it is not absolute necessary, but if it would get the name,
> then BibleTime would be more clearly represented on the DBus, also for
> other applications.
> 
> Teus.
> 
> 
> 
> _______________________________________________
> bt-devel mailing list
> bt-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/bt-devel
> 



More information about the bt-devel mailing list