Was going to open a bug and attach this patch to it, but b.g.o seems a
bit ill at the moment.

Attached is a patch against CVS that makes beagle-search, when in --icon
mode, hide the main window when the icon is clicked if the window is not
currently hidden.  (i.e. You click the icon to open the main window and
then click it again to hide it - the same behaviour as best and most
other apps that use the notification area)

James
-- 
James Ogley [EMAIL PROTECTED]
Packages for SUSE: http://usr-local-bin.org/rpms
Make Poverty History: http://makepovertyhistory.org
diff -ruN beagle.orig/search/Search.cs beagle/search/Search.cs
--- beagle.orig/search/Search.cs	2006-01-19 00:16:23.000000000 +0000
+++ beagle/search/Search.cs	2006-01-19 00:24:48.000000000 +0000
@@ -364,6 +364,9 @@
 				ShowAll ();
 				entry.GrabFocus ();
 			}
+			else {
+				base.Hide ();
+			}
 		}
 
 		private void OnTraySearch (string query)
_______________________________________________
Dashboard-hackers mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dashboard-hackers

Reply via email to