Merging code from trunk that fixes #774, this work was done by incastrix
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / actions / DeleteBookmarkAction.java
index a00c028..2064fd2 100644 (file)
@@ -3,8 +3,8 @@ package com.quantum.actions;
 import java.util.Iterator;
 import java.util.List;
 
+import com.quantum.ImageStore;
 import com.quantum.Messages;
-import com.quantum.QuantumPlugin;
 import com.quantum.model.BookmarkCollection;
 import com.quantum.view.bookmark.BookmarkNode;
 
@@ -24,7 +24,7 @@ public class DeleteBookmarkAction extends SelectionListenerAction {
     
        public DeleteBookmarkAction(IViewPart view) {
         super(Messages.getString(DeleteBookmarkAction.class.getName() + ".text"));
-        setImageDescriptor(QuantumPlugin.getImageDescriptor("delete.gif"));
+        setImageDescriptor(ImageStore.getImageDescriptor(ImageStore.DELETE));
                this.view = view;
        }