From a1f06f1b5df9d680770f86766822427860e666f0 Mon Sep 17 00:00:00 2001 From: Jim Norman Date: Mon, 2 Apr 2007 20:19:18 +0000 Subject: [PATCH] Bug 228119. Honor setting for icon. --- CASA/gui/CasaTray.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CASA/gui/CasaTray.cs b/CASA/gui/CasaTray.cs index 33cc98e5..3720c974 100644 --- a/CASA/gui/CasaTray.cs +++ b/CASA/gui/CasaTray.cs @@ -336,8 +336,11 @@ namespace Novell.CASA.GUI ShowContextMenu(); } if (args.Event.Button == 1) - { - menuLaunchGUI_Activated(null, null); + { + if (m_config.GetConfigSetting(Common.CONFIG_DISPLAY_CASA_MANAGER, true)) + menuLaunchGUI_Activated(null, null); + else + menuLockMiCasa_Activated(null, null); } } private void OnPopupClick(object o, EventArgs args)