From cce87ba2864a3af0a3d85f4f24c945708b30a01c Mon Sep 17 00:00:00 2001
From: guinux <nuxgui@gmail.com>
Date: Sat, 3 Jun 2017 16:30:23 +0200
Subject: [PATCH] launch manager on left click on tray if no update

---
 src/tray.vala | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/tray.vala b/src/tray.vala
index a09ec598..4b8c073d 100644
--- a/src/tray.vala
+++ b/src/tray.vala
@@ -94,6 +94,8 @@ namespace Pamac {
 		public void left_clicked () {
 			if (get_icon () == "pamac-tray-update") {
 				execute_updater ();
+			} else {
+				execute_manager ();
 			}
 		}
 
-- 
GitLab