Beispiel #1
0
 private void OnHideWindow(object obj, EventArgs args)
 {
     if (search.IconEnabled)
     {
         search.Hide();
     }
 }
Beispiel #2
0
 private void OnTrayActivated(object o, EventArgs args)
 {
     if (!icon_window.Visible)
     {
         icon_window.ShowAll();
         icon_window.Present();
         icon_window.GrabEntryFocus();
     }
     else
     {
         icon_window.Hide();
     }
 }