Index: mini-commander/src/command_line.c
===================================================================
RCS file: /cvs/gnome/gnome-applets/mini-commander/src/command_line.c,v
retrieving revision 1.69
diff -p -u -r1.69 command_line.c
--- mini-commander/src/command_line.c	15 Aug 2004 18:37:04 -0000	1.69
+++ mini-commander/src/command_line.c	7 Jan 2005 01:24:46 -0000
@@ -42,11 +42,14 @@ static int history_position = MC_HISTORY
 static gchar *browsed_folder = NULL;
 
 static gboolean
-button_press_cb (GtkEntry   *entry,
-		 GdkEventKey *event,
-		 MCData      *mc)
+button_press_cb (GtkEntry       *entry,
+		 GdkEventButton *event,
+		 MCData         *mc)
 {
     const gchar *str;
+
+    panel_applet_request_focus (mc->applet, event->time);
+
     if (mc->error) { 
 	   mc->error = FALSE; 
 	   str = gtk_editable_get_chars (GTK_EDITABLE (entry), 0, -1);
