[GB.DESKTOP]

* BUG: Setting Desktop.Passwords[] now works correctly if 'secret-tool' is used.

git-svn-id: svn://localhost/gambas/trunk@7942 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2016-10-29 01:43:30 +00:00
parent f79951fe9f
commit 63bc9c7314
2 changed files with 5 additions and 5 deletions

View file

@ -26,7 +26,7 @@ Geometry=[848,380,224,280]
Path="gb.desktop.gambas"
[FCommit]
LastCommit="[GB.DESKTOP]\n* BUG: Desktop.RunAsRoot() should work correctly on SuSE now. It uses 'kdsu' if 'kdsudo' is not found.\n* NEW: Desktop.RunAsRoot() It uses 'gksu' if 'gksudo' is not found.\n\n---- Diese Zeile und alles Folgende wird ignoriert. ----"
LastCommit="[GB.DESKTOP]\n* NEW: Support for cygwin desktops."
[OpenFile]
File[1]=".src/DesktopMime.class:22.357"
@ -35,10 +35,10 @@ File[2]=".src/Tests/Form11.form"
Count=15
File[3]=".src/Main.module:22.161"
File[4]=".src/DesktopFile.class:0.347"
File[5]=".src/Desktop.class:0.617"
File[5]=".src/Desktop.class:8.269"
File[6]=".src/DesktopWatcher.class:2.33"
File[7]="xdg-utils/xdg-open:17.383"
File[8]=".src/_Desktop_Passwords.class:46.111"
File[8]=".src/_Desktop_Passwords.class:58.31"
File[9]=".src/Atom.class:0.0"
File[10]=".src/_Desktop_Windows.class:0.0"
File[11]=".src/_Desktop_ScreenSaver.class:0.0"
@ -48,7 +48,7 @@ File[14]=".src/_DesktopVirtual.class:0.0"
File[15]=".src/DesktopWindow.class:0.0"
[VersionControl]
User="dashboard68"
User="gambas"
RememberPassword=1
[Watches]

View file

@ -133,7 +133,7 @@ Public Sub _put(Value As String, (Key) As String)
If $sSecretTool Then
If Value Then
Shell "echo -n " & Shell(Value) & "| secret-tools store --label='" & Replace(Key, "'", "'\\''") & "' name " & Shell$(Key) & " magic " & Shell(Application.Name) Wait
Shell "echo -n " & Shell(Value) & "| " & $sSecretTool & " store --label='" & Replace(Key, "'", "'\\''") & "' name " & Shell$(Key) & " magic " & Shell(Application.Name) Wait
Else
Exec [$sSecretTool, "clear", "name", Key, "magic", Application.Name] Wait
Endif