--- empathy-chat-text-view.c	2009-07-16 01:09:11.790957981 +0200
+++ libempathy-gtk/empathy-chat-text-view.c	2009-07-16 01:14:22.000928196 +0200
@@ -265,12 +265,11 @@ chat_text_view_populate_popup (EmpathyCh
 
 	/* Clear menu item */
 	if (gtk_text_buffer_get_char_count (priv->buffer) > 0) {
-		item = gtk_separator_menu_item_new ();
-		gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), item);
-		gtk_widget_show (item);
-
 		item = gtk_image_menu_item_new_from_stock (GTK_STOCK_CLEAR, NULL);
-		gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), item);
+		/* NOTE: the Clear option must be in sixth position with the
+		 current menu arrangement; so if this arrangement changes in
+		 the future, the position should be changed too */
+		gtk_menu_shell_insert (GTK_MENU_SHELL (menu), item, 6);
 		gtk_widget_show (item);
 
 		g_signal_connect_swapped (item, "activate",
