--- oldentry.c	Mon Mar  4 17:11:25 2002
+++ gtkentry.c	Mon Mar  4 17:11:29 2002
@@ -1377,7 +1377,10 @@
     }
   else if (event->button == 2 && event->type == GDK_BUTTON_PRESS && entry->editable)
     {
-      gtk_editable_select_region (editable, tmp_pos, tmp_pos);
+      if (event->state & GDK_SHIFT_MASK)
+        gtk_editable_delete_text (editable, 0, -1);  
+      else
+        gtk_editable_select_region (editable, tmp_pos, tmp_pos);
       gtk_entry_paste (entry, GDK_SELECTION_PRIMARY);
 
       return TRUE;
