Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/ChangeLog,v
retrieving revision 1.2285
diff -u -r1.2285 ChangeLog
--- ChangeLog	23 Nov 2003 20:24:05 -0000	1.2285
+++ ChangeLog	26 Nov 2003 20:42:31 -0000
@@ -1,3 +1,9 @@
+2003-11-26  William Jon McCann  <mccann@jhu.edu>
+
+	* panel-recent.c (recent_documents_clear_cb) 
+	(panel_recent_append_documents_menu): Add ability to clear
+	recent documents list.
+
 2003-11-23  Mark McLoughlin  <mark@skynet.ie>
 
 	* gnome-panel-screenshot.glade,
Index: panel-recent.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/panel-recent.c,v
retrieving revision 1.10
diff -u -r1.10 panel-recent.c
--- panel-recent.c	1 Aug 2003 14:22:53 -0000	1.10
+++ panel-recent.c	26 Nov 2003 20:42:31 -0000
@@ -160,6 +160,14 @@
 	g_free (mime_type);
 }
 
+static void
+recent_documents_clear_cb (GtkMenuItem *menuitem, gpointer *data)
+{
+	EggRecentModel *model = (EggRecentModel *)data;
+        
+	egg_recent_model_clear (model);
+}
+
 void
 panel_recent_append_documents_menu (GtkWidget *top_menu)
 {
@@ -187,6 +195,20 @@
 	model = egg_recent_model_new (EGG_RECENT_MODEL_SORT_MRU);
 
 	view = egg_recent_view_gtk_new (menu, NULL);
+
+	menu_item = gtk_separator_menu_item_new ();
+	gtk_menu_append (menu, menu_item);
+
+	menu_item = gtk_image_menu_item_new ();
+	setup_stock_menu_item (menu_item,
+			       panel_menu_icon_get_size (),
+			       GTK_STOCK_CLEAR,
+			       _("Clear Recent"),
+			       TRUE);
+	gtk_menu_append (menu, menu_item);
+	g_signal_connect (menu_item, "activate",
+			  G_CALLBACK (recent_documents_clear_cb),
+			  model);
 
 	g_signal_connect (view, "activate",
 			  G_CALLBACK (recent_documents_activate_cb),
