[Gambas-user] DBus Explorer seems different?
bsteers4 at gmail.com
Thu Dec 1 12:21:23 CET 2022
It can't be right Ben.
Now ALL DBus commands show no args at all.
By the way. I added this really useful feature to the DBusExplorer that I
thought was worth a mention as it is very useful indeed...
*Public Sub tvDbus_DblClick() Dim hTree As TreeView = Last Print
hTree.Current.Key Dim pr As String = Split(hTree.Current.ParentKey,
"|") If pr.Count = 4 Then Dim sCom As String = lblsignature.Text If
Right(sCom, 1) <> ")" Then sCom = Replace(sCom, ")", ") '") Dim s As
String = "DBus[\"" & pr & pr & "\"][\"" & pr & "\", \"" & pr &
"\"]." & sCom Clipboard.Copy(s, "text/plain") EndifEnd*
Now if i double click the UDisk2 Mount command i get this copied to my
"org.freedesktop.UDisks2.Filesystem"].Mount(options As Collection) ' As
Like I say it's worth a mention as it's a very useful feature to be able to
get a usable command string from the explorer.
On Wed, 30 Nov 2022 at 20:55, Benoit Minisini <
benoit.minisini at gambas-basic.org> wrote:
> Le 30/11/2022 à 20:13, Bruce Steers a écrit :
> > Ahh, Seems built in DBus explorer is doing something fairly wrong
> > looking again at that snapshot as it's listing "options as collection"
> > quite a, unusual amount.
> > On Wed, 30 Nov 2022 at 19:09, Bruce Steers <bsteers4 at gmail.com
> > <mailto:bsteers4 at gmail.com>> wrote:
> > Oddly one of my programs that uses a previous version of Fabiens
> > gb.disks seems to not be able to mount any more. and i didn't change
> > anything.
> > So i looked at the new built in DBus explorer to find UDisk2
> > filesystem Mount now has 2 args Label and Options according to that.
> > Yet in the original DBus explorer from the farm it only shows one
> > arg (see attached pic, orig DBus explorer is behind the gambas
> > window, both showing the same item but different args)
> > V weird
> > BruceS
> > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> It's fixed in master.
> Benoît Minisini.
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User