# File lib/foxtails/FTFileBrowser.rb, line 274
    def make_bookmark_popup
      bm_menu = FXMenuPane.new(self,POPUP_SHRINKWRAP)

      ## copied from above
      FXMenuCommand.new(bm_menu, "Set bookmark", MARK_ICON).
        connect(SEL_COMMAND) {set_bookmark}

      if @bookmarks
        FXMenuCommand.new(bm_menu, "Clear bookmarks", CLEAR_MARKS_ICON).
          connect(SEL_COMMAND) {clear_bookmarks}

        FXMenuSeparator.new(bm_menu)
        
        @bookmarks.each do |bm|
          FXMenuCommand.new(bm_menu, bm).connect(SEL_COMMAND) {open_bookmark bm}
        end
      end
      
      bm_menu
    end