[GB.DESKTOP]

* BUG: Fix Unity indicator unregistration in TrayIcon.Delete() method.


git-svn-id: svn://localhost/gambas/trunk@7778 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2016-05-14 13:19:03 +00:00
parent cbdd2e83e3
commit 0a0157878d
2 changed files with 5 additions and 4 deletions

View file

@ -124,13 +124,14 @@ Public Sub Delete()
Dim iIndex As Integer
Hide
$hMenu = Null
If $bAppIndicator Then
DBus.UnRegister($hMenu) ', "/org/kde/statusnotifieritem" &/ CStr($iId) &/ "menu", ["com.canonical.dbusmenu"])
DBus.Unregister($hObject) ', "/org/kde/statusnotifieritem" &/ CStr($iId), ["org.kde.StatusNotifierItem"])
Endif
$hMenu = Null
iIndex = TrayIcons._All.FindByRef(Me)
If iIndex < 0 Then Return

View file

@ -30,14 +30,14 @@ LastCommit="[GB.DESKTOP]\n* BUG: Change the Mime loading code so it not fail on
[OpenFile]
File[1]=".src/DesktopMime.class:26.209"
Active=1
Active=5
File[2]=".src/Tests/Form11.form"
Count=7
File[3]=".src/Main.module:7.157"
File[4]=".src/DesktopFile.class:0.347"
File[5]=".src/Desktop.class:12.516"
File[5]=".src/Desktop.class:39.225"
File[6]=".src/DesktopWatcher.class:2.33"
File[7]="xdg-utils/xdg-open:7.517"
File[7]="xdg-utils/xdg-open:17.383"
[VersionControl]
User="gambix"