]> khamidou — GitHub mirrors - electron.git/commitdiff
gtk: Notify the click event
authorCheng Zhao <zcbenz@gmail.com>
Thu, 21 May 2015 07:22:52 +0000 (15:22 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 21 May 2015 07:22:52 +0000 (15:22 +0800)
atom/browser/ui/tray_icon_gtk.cc

index d95109c26e66ff93cd359b6cb818633f009e5ca8..666e64101e886bcb1e14b59296ac4b9e743c1aa0 100644 (file)
@@ -42,6 +42,7 @@ void TrayIconGtk::SetContextMenu(ui::SimpleMenuModel* menu_model) {
 }
 
 void TrayIconGtk::OnClick() {
+  NotifyClicked();
 }
 
 bool TrayIconGtk::HasClickAction() {