From e18fa97821bf6ed185093a94b29540124aa8a467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sun, 5 Jul 2015 20:56:03 +0000 Subject: [PATCH] [GB.DBUS] * BUG: Oops, forgot the TRY instruction when checking for a DBus StatusNotifierHost. git-svn-id: svn://localhost/gambas/trunk@7174 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.dbus/src/gb.dbus/.src/DBus.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb.dbus/src/gb.dbus/.src/DBus.class b/gb.dbus/src/gb.dbus/.src/DBus.class index 518f7b61a..0650c7640 100644 --- a/gb.dbus/src/gb.dbus/.src/DBus.class +++ b/gb.dbus/src/gb.dbus/.src/DBus.class @@ -127,6 +127,6 @@ End Static Public Sub _HasSystemTray() As Boolean - Return DBus["org.kde.StatusNotifierWatcher"]["/StatusNotifierWatcher", "org.kde.StatusNotifierWatcher"].IsStatusNotifierHostRegistered + Try Return DBus["org.kde.StatusNotifierWatcher"]["/StatusNotifierWatcher", "org.kde.StatusNotifierWatcher"].IsStatusNotifierHostRegistered End