Start desktop portal automatically.
[GB.DESKTOP] * NEW: Start desktop portal automatically.
This commit is contained in:
parent
9b7d44ce52
commit
f1593e17f1
@ -16,6 +16,7 @@ Private $cResult As Collection
|
||||
Public Sub _init()
|
||||
|
||||
Component.Load("gb.dbus")
|
||||
DBus["org.freedesktop.DBus"]["/", "org.freedesktop.DBus"].StartServiceByName("org.freedesktop.portal.Desktop", 0)
|
||||
|
||||
End
|
||||
|
||||
|
@ -171,7 +171,10 @@ End
|
||||
|
||||
Public Sub Main()
|
||||
|
||||
Desktop.SendMail(["benoit@minisini.fr"], ["bminisini@asap-info.com"], ["benoit.minisini@gambas-basic.org"], "Sujet", "Corps du mail", "~/adolf.png")
|
||||
Dim hPict As Picture
|
||||
|
||||
'Desktop.SendMail(["benoit@minisini.fr"], ["bminisini@asap-info.com"], ["benoit.minisini@gambas-basic.org"], "Sujet", "Corps du mail", "~/adolf.png")
|
||||
hPict = Desktop.Screenshot()
|
||||
|
||||
End
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user